diff options
author | Kevin Wolf <kwolf@redhat.com> | 2021-12-17 17:46:53 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2022-01-14 12:03:16 +0100 |
commit | 51cd8bddd63540514d44808f7920811439baa253 (patch) | |
tree | 44915450ba6dcb3dfc7fb07dec62f7f06a500337 /scripts | |
parent | b9b8860d24676ec59c878d5206ea6bcfc87af798 (diff) | |
download | qemu-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