From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvsgU-0005ES-Ae for qemu-devel@nongnu.org; Fri, 22 May 2015 15:32:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvsgT-0005tA-9l for qemu-devel@nongnu.org; Fri, 22 May 2015 15:32:42 -0400 Message-ID: <555F844C.6050909@redhat.com> Date: Fri, 22 May 2015 13:32:28 -0600 From: Eric Blake MIME-Version: 1.0 References: <1432266060-22104-1-git-send-email-famz@redhat.com> <1432266060-22104-2-git-send-email-famz@redhat.com> In-Reply-To: <1432266060-22104-2-git-send-email-famz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="W0KSouxISX6FCOGmcMFpxNLwSMLOr4VOO" Subject: Re: [Qemu-devel] [PATCH v4 1/8] block: Add "base" option to bdrv_get_block_status List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng , qemu-devel@nongnu.org Cc: Kevin Wolf , qemu-block@nongnu.org, Jeff Cody , qemu-stable@nongnu.org, Stefan Hajnoczi , pbonzini@redhat.com, jsnow@redhat.com, wangxiaolong@ucloud.cn This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --W0KSouxISX6FCOGmcMFpxNLwSMLOr4VOO Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 05/21/2015 09:40 PM, Fam Zheng wrote: > Now this function follows the backing chain until seeing BDRV_BLOCK_ALL= OCATED. > Base is not included, and it can be NULL just like bdrv_is_allocated_ab= ove(). >=20 > Existing callers pass in bs->backing_hd to keep the old behavior. >=20 > Signed-off-by: Fam Zheng > --- > block/io.c | 39 ++++++++++++++++++++++++++++++++------- > include/block/block.h | 3 ++- > qemu-img.c | 6 ++++-- > 3 files changed, 38 insertions(+), 10 deletions(-) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --W0KSouxISX6FCOGmcMFpxNLwSMLOr4VOO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJVX4RMAAoJEKeha0olJ0Nq/McH/3bfQGKmfSdG9AAqkpj9BadI uIDUlgHAbfX6gy3CBtiK9YQaXmPJYFGf1bAYn3aGR0QwPQ0aYEl3QjR5CKz2AJlT TsF3htoJAtS8p67en5ClcCag2GoaU4n9OIqQ1/xs8Lssy+/LvYggjVi11euDIi2I 3jfGT5B1N/R/rX1ixjRuz9d1mGKFsKODDX7/QR+veN2lPFZ1H1KwLLyYjQt2iAan DC87WuJJKyfW895At3ACuXlRB/Qo13poqO7sX1J4pSrseRivOlXp/7dPayfxneop dbzEbsaVb7AQwGkSzE1dZnvlqcSfjPt7wOY+7KNfkrTwS9zkd4XghXfDR2YFV8E= =dCTP -----END PGP SIGNATURE----- --W0KSouxISX6FCOGmcMFpxNLwSMLOr4VOO--