Received: from eggs.gnu.org ([2001:4830:134:3::10]:38629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMGCp-00021N-F6 for qemu-devel@nongnu.org; Fri, 13 Feb 2015 08:22:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMGCi-0002KM-Nz for qemu-devel@nongnu.org; Fri, 13 Feb 2015 08:22:51 -0500 Received: from mail-we0-x229.google.com ([2a00:1450:400c:c03::229]:58583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMGCi-0002KC-HK for qemu-devel@nongnu.org; Fri, 13 Feb 2015 08:22:44 -0500 Received: by mail-we0-f169.google.com with SMTP id k48so16584982wev.0 for ; Fri, 13 Feb 2015 05:22:44 -0800 (PST) Date: Fri, 13 Feb 2015 13:22:41 +0000 From: Stefan Hajnoczi Message-ID: <20150213132241.GJ21976@stefanha-thinkpad.redhat.com> References: <1423162705-32065-1-git-send-email-mreitz@redhat.com> <1423162705-32065-10-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Ah9ph+G2cWRpKogL" Content-Disposition: inline In-Reply-To: <1423162705-32065-10-git-send-email-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v4 09/16] qemu-img: Use BlockBackend as far as possible List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: Kevin Wolf , qemu-devel@nongnu.org, Stefan Hajnoczi --Ah9ph+G2cWRpKogL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 05, 2015 at 01:58:18PM -0500, Max Reitz wrote: > Although qemu-img already creates BlockBackends, it does not do accesses > to the images through them. This patch converts all of the bdrv_* calls > for which this is currently possible to blk_* calls. Most of the > remaining calls will probably stay bdrv_* calls because they really do > operate on the BDS level instead of the BB level. >=20 > Signed-off-by: Max Reitz > --- > qemu-img.c | 82 ++++++++++++++++++++++++++++++--------------------------= ------ > 1 file changed, 39 insertions(+), 43 deletions(-) Reviewed-by: Stefan Hajnoczi --Ah9ph+G2cWRpKogL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJU3fqhAAoJEJykq7OBq3PIXFwH/A7YMziVd7C6mfbvWY29GmgK wziftRWjzAoeGE2T1V/83+GUqTakzpE3Hy7FMF57ucz86YOmzxpa4zucXBCFGlA8 4US0pBctY2UgZy/AAChB2iuvAIaiAYVzWL9IChHuC2N3vJMMNsA0lC22GpzWwbUB Fpx4oWkm6g+GYWWLw8flbc3LOrhUk5Y/W7yJ+mbEu1fXjDVfvpSUxh0/zB71UpiF 7RRfh8WmRd1EdvOcnekTAefF33CmPb4mqKnf0nSU3uTr7wet7O6le/zIFwTUs7MV AuOrZ18eddhG0vyZZ6hwt8vNkGJid7bfN3jckKPqouBXeDoxPGqvu3LXY7uCwG0= =5her -----END PGP SIGNATURE----- --Ah9ph+G2cWRpKogL--