From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtfJn-0001k4-V0 for qemu-devel@nongnu.org; Wed, 26 Nov 2014 11:19:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtfJi-0008P0-H4 for qemu-devel@nongnu.org; Wed, 26 Nov 2014 11:19:51 -0500 Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:38154) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtfJi-0008OZ-7W for qemu-devel@nongnu.org; Wed, 26 Nov 2014 11:19:46 -0500 Received: by mail-wi0-f176.google.com with SMTP id ex7so13081752wid.3 for ; Wed, 26 Nov 2014 08:19:45 -0800 (PST) Date: Wed, 26 Nov 2014 16:19:42 +0000 From: Stefan Hajnoczi Message-ID: <20141126161942.GE14288@stefanha-thinkpad.redhat.com> References: <1416309679-333-1-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="idY8LE8SD6/8DnRI" Content-Disposition: inline In-Reply-To: <1416309679-333-1-git-send-email-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/6] nbd: Use BlockBackend List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: Kevin Wolf , Paolo Bonzini , qemu-devel@nongnu.org, Stefan Hajnoczi , Markus Armbruster --idY8LE8SD6/8DnRI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 18, 2014 at 12:21:13PM +0100, Max Reitz wrote: > From the block layer's perspective, the nbd server is pretty similar to > a guest device. Therefore, it should use BlockBackend to access block > devices, just like any other guest device does. >=20 > This series consequently makes the nbd server use BlockBackend for > referencing block devices. >=20 >=20 > v2: > - Added patch 6, which converts qemu-nbd to BlockBackend as far as > reasonable [Paolo] >=20 >=20 > git-backport-diff against v1: >=20 > Key: > [----] : patches are identical > [####] : number of functional differences between upstream/downstream pat= ch > [down] : patch is downstream-only > The flags [FC] indicate (F)unctional and (C)ontextual differences, respec= tively >=20 > 001/6:[----] [--] 'block: Lift more functions into BlockBackend' > 002/6:[----] [--] 'block: Add AioContextNotifier functions to BB' > 003/6:[----] [--] 'block: Add blk_add_close_notifier() for BB' > 004/6:[----] [--] 'nbd: Change external interface to BlockBackend' > 005/6:[----] [--] 'nbd: Use BlockBackend internally' > 006/6:[down] 'qemu-nbd: Use BlockBackend where reasonable' >=20 >=20 > Max Reitz (6): > block: Lift more functions into BlockBackend > block: Add AioContextNotifier functions to BB > block: Add blk_add_close_notifier() for BB > nbd: Change external interface to BlockBackend > nbd: Use BlockBackend internally > qemu-nbd: Use BlockBackend where reasonable >=20 > block/block-backend.c | 38 +++++++++++++++++++++++++ > blockdev-nbd.c | 15 +++++----- > include/block/nbd.h | 7 ++--- > include/sysemu/block-backend.h | 12 ++++++++ > nbd.c | 63 +++++++++++++++++++++---------------= ------ > qemu-nbd.c | 12 ++++---- > 6 files changed, 99 insertions(+), 48 deletions(-) >=20 > --=20 > 1.9.3 >=20 >=20 Thanks, applied to my block-next tree: https://github.com/stefanha/qemu/commits/block-next Stefan --idY8LE8SD6/8DnRI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUdf2eAAoJEJykq7OBq3PIE2sIAJ70siAmq03be6WKlJdzKAil qIBMviL54rI/LeZI8QL6/mKaPgbpwzR/FCYmtts3ooAyGClVo8gNW9kye8zhvYZV aBzxMeYIGDpAxDH8VyzNraGHBOBoYvns9DsPWpUA0a1kwzDru4c7/FHPc9dLOnX8 NiOu63PaiUP7wZU+PIWlYFp6+tbKTXairoOBnYqocIsRB3+ptuT80HIPX4UNToP5 pCrvlQK1sj4qfKlB9G2sgcEpLXXSJYpovYNCls1j99tlK8VH0pSKwB3zePbvY7pV O5Bh1Mrk1PeNEKpZ0ld3HAdgvoXngKoMk4t18lDaD9ytk1loWDFS5aisRRwG0vA= =E6Ec -----END PGP SIGNATURE----- --idY8LE8SD6/8DnRI--