From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIsYl-00011r-KP for qemu-devel@nongnu.org; Mon, 01 Oct 2012 22:50:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TIsYi-0005SU-Pc for qemu-devel@nongnu.org; Mon, 01 Oct 2012 22:50:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIsYi-0005PL-GG for qemu-devel@nongnu.org; Mon, 01 Oct 2012 22:50:08 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q922o5DQ014836 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 1 Oct 2012 22:50:06 -0400 Message-ID: <506A565A.1080504@redhat.com> Date: Mon, 01 Oct 2012 20:50:02 -0600 From: Eric Blake MIME-Version: 1.0 References: <1349103144-6827-1-git-send-email-pbonzini@redhat.com> <1349103144-6827-9-git-send-email-pbonzini@redhat.com> In-Reply-To: <1349103144-6827-9-git-send-email-pbonzini@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig43CB05A35763F235144B4D98" Subject: Re: [Qemu-devel] [PATCH v2 8/9] qmp: add NBD server commands List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org, lcapitulino@redhat.com This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig43CB05A35763F235144B4D98 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 10/01/2012 08:52 AM, Paolo Bonzini wrote: > Adding an NBD server inside QEMU is trivial, since all the logic is > in nbd.c and can be shared easily between qemu-nbd and QEMU itself. > The main difference is that qemu-nbd serves a single unnamed export, > while QEMU serves named exports. >=20 > +# @nbd-server-add: > +# > +# Export a device to QEMU's embedded NBD server. > +# > +# @device: Block device to be exported > +# > +# @writable: Whether clients should be able to write to the device via= the > +# NBD connection (default false). #optional #optional should come right after @writable: --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig43CB05A35763F235144B4D98 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.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQEcBAEBCAAGBQJQalZaAAoJEKeha0olJ0NqrCgIAKNLYLKyi5cMlnccGBRn94AY 1AsjHl9cfPXzuHt5aQeNDrM/3HeH9yeOwsY7gPHDvS5V/NPgBBZ57G34Vpsrsv+s rzEZMNUy1tqRs5FMicQeoQZXFD2iB9UCIAeDA8G9ABLJ0nsXJw56QSSFDTDtpDjc ALllQ+UN0DDDjSY1uA/+umKBkHPZliNRNxn8UvBdjSDSJUq3P+reN0wRcbtaWvPJ 7YPG4ffEtIZUL2Jaoz/laKdHb4Y4scH8BkeiFzoIsRC8wULv9D+2kyO3k9XqsxtA vjktOV2KDnvDrpVPkhABFW9Wgd3IiR7LF4jssOSI5UB78TH/FdHSOpSNdIzJr4k= =or7s -----END PGP SIGNATURE----- --------------enig43CB05A35763F235144B4D98--