[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [PATCH v4 1/8] block: Add "base" option to bdrv_get_bl
From: |
Eric Blake |
Subject: |
Re: [Qemu-stable] [PATCH v4 1/8] block: Add "base" option to bdrv_get_block_status |
Date: |
Fri, 22 May 2015 13:32:28 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
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 <address@hidden>
> ---
> block/io.c | 39 ++++++++++++++++++++++++++++++++-------
> include/block/block.h | 3 ++-
> qemu-img.c | 6 ++++--
> 3 files changed, 38 insertions(+), 10 deletions(-)
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature