aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2021-12-17 17:46:53 +0100
committerKevin Wolf <kwolf@redhat.com>2022-01-14 12:03:16 +0100
commit51cd8bddd63540514d44808f7920811439baa253 (patch)
tree44915450ba6dcb3dfc7fb07dec62f7f06a500337 /scripts
parentb9b8860d24676ec59c878d5206ea6bcfc87af798 (diff)
downloadqemu-51cd8bddd63540514d44808f7920811439baa253.zip
qemu-51cd8bddd63540514d44808f7920811439baa253.tar.gz
qemu-51cd8bddd63540514d44808f7920811439baa253.tar.bz2
iotests: Test qemu-img convert of zeroed data cluster
This demonstrates what happens when the block status changes in sub-min_sparse granularity, but all of the parts are zeroed out. The alignment logic in is_allocated_sectors() prevents that the target image remains fully sparse as expected, but turns it into a data cluster of explicit zeros. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20211217164654.1184218-2-vsementsov@virtuozzo.com> Tested-by: Peter Lieven <pl@kamp.de> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions