qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: David Marchand <david.marchand@6wind.com>
Cc: kvm@vger.kernel.org, stefanha@gmail.com,
	claudio.fontana@huawei.com, qemu-devel@nongnu.org,
	armbru@redhat.com, arei.gonglei@huawei.com, mkletzan@redhat.com,
	pbonzini@redhat.com, jani.kokkonen@huawei.com,
	cam@cs.ualberta.ca
Subject: Re: [Qemu-devel] [PATCH v5 0/3] ivshmem: update documentation, add client/server tools
Date: Thu, 4 Sep 2014 18:40:24 +0300	[thread overview]
Message-ID: <20140904154024.GC21203@redhat.com> (raw)
In-Reply-To: <1409835061-19989-1-git-send-email-david.marchand@6wind.com>

On Thu, Sep 04, 2014 at 02:50:58PM +0200, David Marchand wrote:
> Here is a patchset containing an update on ivshmem specs documentation and
> importing ivshmem server and client tools.
> These tools have been written from scratch and are not related to what is
> available in nahanni repository.
> I put them in contrib/ directory as the qemu-doc.texi was already telling the
> server was supposed to be there.

I think it's a very nice patchset, and very useful.
Some comments on the patches follow.

> Changes since v4:
> - squashed patches 3-13 from v4 into first patch
> - reused reported error when parsing arguments in server
> - fixed spelling mistakes in documentation in second patch
> 
> Changes since v3:
> - first patch is untouched
> - just restored the Reviewed-By Claudio in second patch
> - following patches 3-8 take into account Stefan's comments
> - patches 9-12 take into account Gonglei's comments
> - patch 13 adjusts ivshmem-server default values
> - last patch introduces a change in the ivshmem client-server protocol to
>   check a protocol version at connect time
> 
> Changes since v2:
> - fixed license issues in ivshmem client/server (I took hw/virtio/virtio-rng.c
>   file as a reference).
> 
> Changes since v1:
> - moved client/server import patch before doc update,
> - tried to re-organise the ivshmem_device_spec.txt file based on Claudio
>   comments (still not sure if the result is that great, comments welcome),
> - incorporated comments from Claudio, Eric and Cam,
> - added more details on the server <-> client messages exchange (but sorry, no
>   ASCII art here).
> 
> By the way, there are still some functionnalities that need description (use of
> ioeventfd, the lack of irqfd support) and some parts of the ivshmem code clearly
> need cleanup. I will try to address this in future patches when these first
> patches are ok.
> 
> 
> -- 
> David Marchand
> 
> David Marchand (3):
>   contrib: add ivshmem client and server
>   docs: update ivshmem device spec
>   ivshmem: add check on protocol version in QEMU
> 
>  Makefile                                |    8 +
>  configure                               |    3 +
>  contrib/ivshmem-client/ivshmem-client.c |  413 +++++++++++++++++++++++++++++++
>  contrib/ivshmem-client/ivshmem-client.h |  240 ++++++++++++++++++
>  contrib/ivshmem-client/main.c           |  237 ++++++++++++++++++
>  contrib/ivshmem-server/ivshmem-server.c |  402 ++++++++++++++++++++++++++++++
>  contrib/ivshmem-server/ivshmem-server.h |  187 ++++++++++++++
>  contrib/ivshmem-server/main.c           |  244 ++++++++++++++++++
>  docs/specs/ivshmem_device_spec.txt      |  127 +++++++---
>  hw/misc/ivshmem.c                       |   43 +++-
>  include/hw/misc/ivshmem.h               |   17 ++
>  qemu-doc.texi                           |   10 +-
>  12 files changed, 1888 insertions(+), 43 deletions(-)
>  create mode 100644 contrib/ivshmem-client/ivshmem-client.c
>  create mode 100644 contrib/ivshmem-client/ivshmem-client.h
>  create mode 100644 contrib/ivshmem-client/main.c
>  create mode 100644 contrib/ivshmem-server/ivshmem-server.c
>  create mode 100644 contrib/ivshmem-server/ivshmem-server.h
>  create mode 100644 contrib/ivshmem-server/main.c
>  create mode 100644 include/hw/misc/ivshmem.h
> 
> -- 
> 1.7.10.4
> 

      parent reply	other threads:[~2014-09-04 15:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-04 12:50 [Qemu-devel] [PATCH v5 0/3] ivshmem: update documentation, add client/server tools David Marchand
2014-09-04 12:50 ` [Qemu-devel] [PATCH v5 1/3] contrib: add ivshmem client and server David Marchand
2014-09-04 15:56   ` Michael S. Tsirkin
2014-09-05  8:52     ` Claudio Fontana
2014-09-05 12:07     ` David Marchand
2014-09-07  5:58       ` Michael S. Tsirkin
2014-09-04 15:58   ` Michael S. Tsirkin
2014-09-05 10:40   ` Stefan Hajnoczi
2014-09-04 12:51 ` [Qemu-devel] [PATCH v5 2/3] docs: update ivshmem device spec David Marchand
2014-09-05 10:30   ` Stefan Hajnoczi
2014-09-04 12:51 ` [Qemu-devel] [PATCH v5 3/3] ivshmem: add check on protocol version in QEMU David Marchand
2014-09-05 10:29   ` Stefan Hajnoczi
2014-09-05 12:25     ` David Marchand
2014-09-08  8:30       ` Stefan Hajnoczi
2014-09-04 15:40 ` Michael S. Tsirkin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140904154024.GC21203@redhat.com \
    --to=mst@redhat.com \
    --cc=arei.gonglei@huawei.com \
    --cc=armbru@redhat.com \
    --cc=cam@cs.ualberta.ca \
    --cc=claudio.fontana@huawei.com \
    --cc=david.marchand@6wind.com \
    --cc=jani.kokkonen@huawei.com \
    --cc=kvm@vger.kernel.org \
    --cc=mkletzan@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).