aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests
diff options
context:
space:
mode:
authorPeter Lieven <pl@kamp.de>2020-09-01 14:51:29 +0200
committerMax Reitz <mreitz@redhat.com>2020-09-15 11:05:12 +0200
commitaf8d43d3933a4bec0977b9f33d69443a2d166861 (patch)
tree2736a651824082309c348d45c3746f9e8e9fb289 /tests/qemu-iotests
parent5eb9a3c7b0571562c0289747690e25e6855bc96f (diff)
downloadqemu-af8d43d3933a4bec0977b9f33d69443a2d166861.zip
qemu-af8d43d3933a4bec0977b9f33d69443a2d166861.tar.gz
qemu-af8d43d3933a4bec0977b9f33d69443a2d166861.tar.bz2
qemu-img: avoid unaligned read requests during convert
in case of large continous areas that share the same allocation status it happens that the value of s->sector_next_status is unaligned to the cluster size or even request alignment of the source. Avoid this by stripping down the s->sector_next_status position to cluster boundaries. Signed-off-by: Peter Lieven <pl@kamp.de> Message-Id: <20200901125129.6398-1-pl@kamp.de> [mreitz: Disable vhdx for 251] Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests')
-rwxr-xr-xtests/qemu-iotests/2517
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/qemu-iotests/251 b/tests/qemu-iotests/251
index 7918ba3..294773b 100755
--- a/tests/qemu-iotests/251
+++ b/tests/qemu-iotests/251
@@ -46,8 +46,11 @@ if [ "$IMGOPTSSYNTAX" = "true" ]; then
# We use json:{} filenames here, so we cannot work with additional options.
_unsupported_fmt $IMGFMT
else
- # With VDI, the output is ordered differently. Just disable it.
- _unsupported_fmt vdi
+ # - With VDI, the output is ordered differently. Just disable it.
+ # - VHDX has large clusters; because qemu-img convert tries to
+ # align the requests to the cluster size, the output is ordered
+ # differently, so disable it, too.
+ _unsupported_fmt vdi vhdx
fi