From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGVMM-0005kf-Uf for qemu-devel@nongnu.org; Wed, 28 Jan 2015 11:20:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGVMK-0006px-8s for qemu-devel@nongnu.org; Wed, 28 Jan 2015 11:20:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGVMK-0006pt-09 for qemu-devel@nongnu.org; Wed, 28 Jan 2015 11:20:52 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t0SGKpLw006118 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 28 Jan 2015 11:20:51 -0500 Message-ID: <54C90C62.5000909@redhat.com> Date: Wed, 28 Jan 2015 09:20:50 -0700 From: Eric Blake MIME-Version: 1.0 References: <1422387983-32153-1-git-send-email-mreitz@redhat.com> <1422387983-32153-27-git-send-email-mreitz@redhat.com> In-Reply-To: <1422387983-32153-27-git-send-email-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4oHptvRoncPPfuLOwK9dXLeBSQSf9LkmS" Subject: Re: [Qemu-devel] [PATCH RESEND 26/50] blockdev: Check BB validity in drive-backup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-devel@nongnu.org Cc: Kevin Wolf , Fam Zheng , Jeff Cody , Markus Armbruster , Stefan Hajnoczi , John Snow This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --4oHptvRoncPPfuLOwK9dXLeBSQSf9LkmS Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 01/27/2015 12:45 PM, Max Reitz wrote: > Call blk_is_available() before using blk_bs() to obtain the root > BlockDriverState behind the BlockBackend (instead of calling > bdrv_is_inserted() after bdrv_find()). >=20 > Signed-off-by: Max Reitz > --- > blockdev.c | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --4oHptvRoncPPfuLOwK9dXLeBSQSf9LkmS 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/ iQEcBAEBCAAGBQJUyQxiAAoJEKeha0olJ0Nqc6kH/04QmVtyLEdXbB5UUQCKQhhR NNNwZrwtnw4mIPGWiDTdcG66kUR491AZKCQql+2XDs2BUOsvx+LDLpJK7Ba49mPO BK8XExskXhLx8rooTa1TaTU043vi5Ici3tx8d/L6MwswKOT1NRsUN+Cw6NwDZgDN bE9ddnyipm4KnzBsRcMHGH7LK//hiUeUXErqUfHn59khXgcr2ZH6nMeYYmLbX2c7 BLbTdBJOHhzr8xVmTX/6LVFyT96i9R46NpJnDRFNT/SnAy8MNGZnhjMdVusTIogG 98AUT2VFdEh3FfCukVhlhZN9ZcChvDqDmt+3o3ak9QnuWyBbwP3rv2WXCHG2UKA= =LmfQ -----END PGP SIGNATURE----- --4oHptvRoncPPfuLOwK9dXLeBSQSf9LkmS--