From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzTIJ-0005rw-MI for qemu-devel@nongnu.org; Tue, 24 Jun 2014 12:10:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzTID-00055F-LZ for qemu-devel@nongnu.org; Tue, 24 Jun 2014 12:10:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:13756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzTID-000556-DD for qemu-devel@nongnu.org; Tue, 24 Jun 2014 12:09:57 -0400 Message-ID: <53A9A2CC.2040902@redhat.com> Date: Tue, 24 Jun 2014 10:09:48 -0600 From: Eric Blake MIME-Version: 1.0 References: <1403266532-13231-1-git-send-email-david.marchand@6wind.com> <1403266532-13231-2-git-send-email-david.marchand@6wind.com> In-Reply-To: <1403266532-13231-2-git-send-email-david.marchand@6wind.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="8kfV5PkMNLi9K5aGjcrua3RtCBo2aIld6" Subject: Re: [Qemu-devel] [PATCH 1/2] docs: update ivshmem device spec List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Marchand , qemu-devel@nongnu.org Cc: pbonzini@redhat.com, claudio.fontana@huawei.com, kvm@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --8kfV5PkMNLi9K5aGjcrua3RtCBo2aIld6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/20/2014 06:15 AM, David Marchand wrote: > Add some notes on the parts needed to use ivshmem devices: more specifi= cally, > explain the purpose of an ivshmem server and the basic concept to use t= he > ivshmem devices in guests. >=20 > Signed-off-by: David Marchand > --- > docs/specs/ivshmem_device_spec.txt | 41 ++++++++++++++++++++++++++++= ++------ > 1 file changed, 35 insertions(+), 6 deletions(-) >=20 > diff --git a/docs/specs/ivshmem_device_spec.txt b/docs/specs/ivshmem_de= vice_spec.txt > index 667a862..7d2b73f 100644 > --- a/docs/specs/ivshmem_device_spec.txt > +++ b/docs/specs/ivshmem_device_spec.txt > @@ -85,12 +85,41 @@ events have occurred. The semantics of interrupt v= ectors are left to the > user's discretion. > =20 > =20 > +IVSHMEM host services > +--------------------- > + > +This part is optional (see *Usage in the Guest* section below). > + > +To handle notifications between users of a ivshmem device, a ivshmem s= erver has s/a ivshmem/an ivshmem/ (twice) > +been added. This server is responsible for creating the shared memory = and > +creating a set of eventfds for each users of the shared memory. It beh= aves as a > +proxy between the different ivshmem clients (QEMU): giving the shared = memory fd > +to each client, allocating eventfds to new clients and broadcasting to= all > +clients when a client disappears. > + > +Apart from the current ivshmem implementation in QEMU, a ivshmem clien= t can be and again > +written for debug, for development purposes, or to implement notificat= ions > +between host and guests. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --8kfV5PkMNLi9K5aGjcrua3RtCBo2aIld6 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/ iQEcBAEBCAAGBQJTqaLMAAoJEKeha0olJ0NqSRYH+wfAaAqKh58yFir9ChNALzmm V2L0X6/Dtsl+l0WuW4hRCeIfKIzilHITDNiRugDFTdDg2TQ0NB+kLAyQUF6W/Vp7 wVUCUrT9r3tRzRVo6lO4bLxH/ymI+qtV7Qoi/gmRFAo6Aum8TOVMLWj6z75cqrEO RSgMOl4+gi6MeCCG9Btmh5jFeP+1yhadk60PB6orV5VbcV2BNDiTp4uoPRu5BNuv GAsbH8znVpabPtcw7hfMcISSSGDNjF2xnLaCKWJoItVHekjZohpm8FhmF6uJuWfK yh6+UK2WPuI3utN0Mo94zeHMChk1v9K1nBn9WtiqlEiU+mvBd8DHhycEac5j33U= =CCsf -----END PGP SIGNATURE----- --8kfV5PkMNLi9K5aGjcrua3RtCBo2aIld6--