From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsaMJ-0003Fl-Sx for qemu-devel@nongnu.org; Thu, 05 Jun 2014 12:17:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsaME-0006YP-HC for qemu-devel@nongnu.org; Thu, 05 Jun 2014 12:17:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:23715) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsaME-0006YA-98 for qemu-devel@nongnu.org; Thu, 05 Jun 2014 12:17:38 -0400 Message-ID: <5390981F.6050405@redhat.com> Date: Thu, 05 Jun 2014 10:17:35 -0600 From: Eric Blake MIME-Version: 1.0 References: <20140527120050.15172.94908.stgit@3820> <20140527120651.15172.72895.stgit@3820> In-Reply-To: <20140527120651.15172.72895.stgit@3820> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="CgTlBou3uGsDaDkR9JgeL9vdI4Tx3CKpG" 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: Nikolay Nikolaev , snabb-devel@googlegroups.com, qemu-devel@nongnu.org Cc: a.motakis@virtualopensystems.com, luke@snabb.co, tech@virtualopensystems.com, mst@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --CgTlBou3uGsDaDkR9JgeL9vdI4Tx3CKpG Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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. >=20 > 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 >=20 > 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. M= aster is > +the application that shares it's virtqueues, in our case QEMU. Slave i= s 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 int= ended to > +be a software ethernet switch running in user space, such as Snabbswit= ch. 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 doma= in socket s/send/sent/ --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --CgTlBou3uGsDaDkR9JgeL9vdI4Tx3CKpG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTkJggAAoJEKeha0olJ0NqwkAH/3xKuZ2V+wj/vS64MWVrrB9/ MsgEAjXpcgHblg6ZIbGHQOet2MWCPkd34fRJwe1Wwx7AugSWrVK+oFoVB+sLj8iu CHE2wKsdPfa81B1aOMjghkr2T9/93tiDFgX8C6zqicZD0JRLwRYYs2hOuBTPVx2y Ta5E6dIfEL+n6KOT0KLQ3DxAON19EAVJG55M6aR2odqxotcne//hzSi/ItgYWDqq q6WdXcu/uVn4ODs/tSK7aDvRWlqBEnAYlIls3FHEFzB9IXuLvwL02QSM4IPOuL07 yAmJEmUfze7pK4NCANfUGwczIeAp45iops8bibJ7SoFRhGJI5BMrme5AIadDy5Y= =eFZc -----END PGP SIGNATURE----- --CgTlBou3uGsDaDkR9JgeL9vdI4Tx3CKpG--