From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wteey-0007Zm-Th for qemu-devel@nongnu.org; Sun, 08 Jun 2014 11:05:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wteeu-0005Xe-CI for qemu-devel@nongnu.org; Sun, 08 Jun 2014 11:05:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wteeu-0005XQ-3V for qemu-devel@nongnu.org; Sun, 08 Jun 2014 11:05:20 -0400 Date: Sun, 8 Jun 2014 18:05:41 +0300 From: "Michael S. Tsirkin" Message-ID: <20140608150541.GC5704@redhat.com> References: <20140527120050.15172.94908.stgit@3820> <20140527120651.15172.72895.stgit@3820> <5390981F.6050405@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5390981F.6050405@redhat.com> Subject: Re: [Qemu-devel] [PATCH v10 16/18] Add vhost-user protocol documentation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: snabb-devel@googlegroups.com, qemu-devel@nongnu.org, Nikolay Nikolaev , luke@snabb.co, a.motakis@virtualopensystems.com, tech@virtualopensystems.com On Thu, Jun 05, 2014 at 10:17:35AM -0600, Eric Blake wrote: > On 05/27/2014 06:06 AM, Nikolay Nikolaev wrote: > > This document describes the basic message format used by vhost-user > > for communication over a unix domain socket. The protocol is based > > on the existing ioctl interface used for the kernel version of vhost. > > > > Signed-off-by: Antonios Motakis > > Signed-off-by: Nikolay Nikolaev > > --- > > docs/specs/vhost-user.txt | 261 +++++++++++++++++++++++++++++++++++++++++++++ > > 1 file changed, 261 insertions(+) > > create mode 100644 docs/specs/vhost-user.txt > > > > diff --git a/docs/specs/vhost-user.txt b/docs/specs/vhost-user.txt > > new file mode 100644 > > index 0000000..e7f43f5 > > --- /dev/null > > +++ b/docs/specs/vhost-user.txt > > @@ -0,0 +1,261 @@ > > +Vhost-user Protocol > > Pre-existing problem throughout this directory, but it might be nice to > assert copyright and assign a license to this file. > > > > + > > +The protocol defines 2 sides of the communication, master and slave. Master is > > +the application that shares it's virtqueues, in our case QEMU. Slave is the > > s/it's/its/ (remember, "it's" only works if "it is" could be used in the > same context) > > > +consumer of the virtqueues. > > + > > +In the current implementation QEMU is the Master, and the Slave is intended to > > +be a software ethernet switch running in user space, such as Snabbswitch. > > s/ethernet/Ethernet/ > > > +Communication > > +------------- > > + > > +The protocol for vhost-user is based on the existing implementation of vhost > > +for the Linux Kernel. Most messages that can be send via the Unix domain socket > > s/send/sent/ I made these changes after applying the patch, thanks! > -- > Eric Blake eblake redhat com +1-919-301-3266 > Libvirt virtualization library http://libvirt.org >