summaryrefslogtreecommitdiffstats
path: root/include/block
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2020-05-28 11:43:56 +0200
committerMax Reitz2020-07-06 08:49:28 +0200
commit2253d86eb45e039dfdeb4bad0f18bd8d5639e1a3 (patch)
tree88a949dcdd2310855b193b47ff83ad4505d5d6a9 /include/block
parentiotests: add tests for blockdev-amend (diff)
downloadqemu-2253d86eb45e039dfdeb4bad0f18bd8d5639e1a3.tar.gz
qemu-2253d86eb45e039dfdeb4bad0f18bd8d5639e1a3.tar.xz
qemu-2253d86eb45e039dfdeb4bad0f18bd8d5639e1a3.zip
qemu-img: convert: don't use unallocated_blocks_are_zero
qemu-img convert wants to distinguish ZERO which comes from short backing files. unallocated_blocks_are_zero field of bdi is unrelated: space after EOF is always considered to be zero anyway. So, just make post_backing_zero true in case of short backing file. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20200528094405.145708-2-vsementsov@virtuozzo.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include/block')
0 files changed, 0 insertions, 0 deletions