On 05/21/2015 09:40 PM, Fam Zheng wrote:
> Now this function follows the backing chain until seeing BDRV_BLOCK_ALLOCATED.
> Base is not included, and it can be NULL just like bdrv_is_allocated_above().
> 
> Existing callers pass in bs->backing_hd to keep the old behavior.
> 
> Signed-off-by: Fam Zheng <f...@redhat.com>
> ---
>  block/io.c            | 39 ++++++++++++++++++++++++++++++++-------
>  include/block/block.h |  3 ++-
>  qemu-img.c            |  6 ++++--
>  3 files changed, 38 insertions(+), 10 deletions(-)

Reviewed-by: Eric Blake <ebl...@redhat.com>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to