summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlberto Garcia2020-10-26 17:58:26 +0100
committerKevin Wolf2020-10-27 15:26:20 +0100
commitd40f4a565aa64a1ef1e1ff73caf53d61cac9a67f (patch)
tree671c8523f8863d8719707f9cd225f94cf65cba31 /include
parentqemu-img: add support for rate limit in qemu-img convert (diff)
downloadqemu-d40f4a565aa64a1ef1e1ff73caf53d61cac9a67f.tar.gz
qemu-d40f4a565aa64a1ef1e1ff73caf53d61cac9a67f.tar.xz
qemu-d40f4a565aa64a1ef1e1ff73caf53d61cac9a67f.zip
qcow2: Report BDRV_BLOCK_ZERO more accurately in bdrv_co_block_status()
If a BlockDriverState supports backing files but has none then any unallocated area reads back as zeroes. bdrv_co_block_status() is only reporting this is if want_zero is true, but this is an inexpensive test and there is no reason not to do it in all cases. Suggested-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Signed-off-by: Alberto Garcia <berto@igalia.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <66fa0914a0e2b727ab6d1b63ca773d7cd29a9a9e.1603731354.git.berto@igalia.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions