From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGVjT-0005z0-R3 for qemu-devel@nongnu.org; Wed, 28 Jan 2015 11:44:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGVjP-0006oG-2p for qemu-devel@nongnu.org; Wed, 28 Jan 2015 11:44:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGVjO-0006o6-HV for qemu-devel@nongnu.org; Wed, 28 Jan 2015 11:44:42 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t0SGifvA031293 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 28 Jan 2015 11:44:42 -0500 Message-ID: <54C911F8.2030304@redhat.com> Date: Wed, 28 Jan 2015 09:44:40 -0700 From: Eric Blake MIME-Version: 1.0 References: <1422387983-32153-1-git-send-email-mreitz@redhat.com> <1422387983-32153-30-git-send-email-mreitz@redhat.com> In-Reply-To: <1422387983-32153-30-git-send-email-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="j6uThLcSha5ELDn81p2ipMHUkmQsexwiH" Subject: Re: [Qemu-devel] [PATCH RESEND 29/50] blockdev: Check BB validity in find_block_job() 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) --j6uThLcSha5ELDn81p2ipMHUkmQsexwiH Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 01/27/2015 12:46 PM, Max Reitz wrote: > Call blk_is_available() before using blk_bs() to obtain the root > BlockDriverState behind the BlockBackend. >=20 > Signed-off-by: Max Reitz > --- > blockdev.c | 20 +++++++++++++++----- > 1 file changed, 15 insertions(+), 5 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --j6uThLcSha5ELDn81p2ipMHUkmQsexwiH 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/ iQEcBAEBCAAGBQJUyRH4AAoJEKeha0olJ0Nq6JwH/0+LmXSkvXA8JemJ0x1NtuDY meP6yi6a3bTLgl+rY4jhC/xk8YyJ5fgTS7rmUBJMFH4xHhaUXs2fYp6nVPMujE7T rTszmS4pXrrcbXafBWeAMGy9uixFuKTrAtqfhem/Y2BLRfimSexK7bqm786PzTty 1R16vcdHxvhtD1OTK3vpmPSKhM0qyzwiXG10VT5Ss6V6rHGJn3YMfAinSnSaqb5e QhNgg71UwbX2EAlLTjM3ATMPm9xaQV9/x3Os7wRz3Mn8njJM4vT7FPnvTy31UfzA hH0sDXdBcgReOfcd8ILvf92zmybsfs0y3m5AsDJMBK7UEJZhAN34Tzfbui8dajI= =VNKp -----END PGP SIGNATURE----- --j6uThLcSha5ELDn81p2ipMHUkmQsexwiH--