Re: [Qemu-block] [PATCH v5 07/42] block: *filtered_cow_child() for *has_zero_init()

2019-06-13 Thread Vladimir Sementsov-Ogievskiy
13.06.2019 1:09, Max Reitz wrote: > bdrv_has_zero_init() and the related bdrv_unallocated_blocks_are_zero() > should use bdrv_filtered_cow_child() if they want to check whether the > given BDS has a COW backing file. > > Signed-off-by: Max Reitz > --- > block.c | 4 ++-- > 1 file changed, 2

[Qemu-block] [PATCH v5 07/42] block: *filtered_cow_child() for *has_zero_init()

2019-06-12 Thread Max Reitz
bdrv_has_zero_init() and the related bdrv_unallocated_blocks_are_zero() should use bdrv_filtered_cow_child() if they want to check whether the given BDS has a COW backing file. Signed-off-by: Max Reitz --- block.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block.c