From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGE7I-0002vZ-4i for qemu-devel@nongnu.org; Tue, 27 Jan 2015 16:56:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGE7D-0005kR-7c for qemu-devel@nongnu.org; Tue, 27 Jan 2015 16:56:12 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGE7C-0005kI-UM for qemu-devel@nongnu.org; Tue, 27 Jan 2015 16:56:07 -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 t0RLu6HK018302 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 27 Jan 2015 16:56:06 -0500 Message-ID: <54C80974.4050603@redhat.com> Date: Tue, 27 Jan 2015 14:56:04 -0700 From: Eric Blake MIME-Version: 1.0 References: <1422387983-32153-1-git-send-email-mreitz@redhat.com> <1422387983-32153-18-git-send-email-mreitz@redhat.com> In-Reply-To: <1422387983-32153-18-git-send-email-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vGUMLebXHaKSFVWo68247F9jWTiUjGd5G" Subject: Re: [Qemu-devel] [PATCH RESEND 17/50] block: Respect empty BB in bdrv_lookup_bs() 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) --vGUMLebXHaKSFVWo68247F9jWTiUjGd5G Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 01/27/2015 12:45 PM, Max Reitz wrote: > blk_by_name() may return a BlockBackend for which blk_bs() returns NULL= =2E > In this case, an error should be returned (instead of just returning > NULL without modifying *errp). >=20 > Signed-off-by: Max Reitz > --- > block.c | 5 +++++ > 1 file changed, 5 insertions(+) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --vGUMLebXHaKSFVWo68247F9jWTiUjGd5G 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/ iQEcBAEBCAAGBQJUyAl0AAoJEKeha0olJ0NqyLMH/RfaPpBxf5EyJ/n+fKYfbwab Cb1Wg+3h2AS2Bj0gZBfQbByrhFsmhk1NEKFliAj2kqtny7OQiqkfAepNv/1wnYB3 T2s4JxFBPcVeI1sQHEM6RhrWL9/m9wqY3fafxniR2ntStH6xtLnW3YBnGjG6sdQh 1b4BE/2eHVYniaJY1c692nonT21nyhFjeJKDvy9A9YpwWwUUUYYh+F9nukieTL0g D1yG1swG56Rgss61VmYt226Vp9S0HtyDyJUglkEoCYpdIJYWHTRuB7FW4pz/q7wj //h6GYLNp4Ymeei4VcQFxndTKIyRkhdbb5S2f7ifd4XDAFkDRKICMy6LEgc6tuQ= =f9aI -----END PGP SIGNATURE----- --vGUMLebXHaKSFVWo68247F9jWTiUjGd5G--