Re: [Qemu-devel] [PATCH v6 1/8] block: Add bdrv_get_block_status_above

2015-05-28 Thread Paolo Bonzini
On 28/05/2015 07:29, Fam Zheng wrote: > Like bdrv_is_allocated_above, this function follows the backing chain until > seeing > BDRV_BLOCK_ALLOCATED. Base is not included. > > Reimplement bdrv_is_allocated on top. "Reimplement bdrv_get_block_status on top". Can be fixed by whoever commits thi

[Qemu-devel] [PATCH v6 1/8] block: Add bdrv_get_block_status_above

2015-05-27 Thread Fam Zheng
Like bdrv_is_allocated_above, this function follows the backing chain until seeing BDRV_BLOCK_ALLOCATED. Base is not included. Reimplement bdrv_is_allocated on top. Signed-off-by: Fam Zheng --- block/io.c| 56 +-- include/block/block