]> Git Repo - qemu.git/commit - qemu-img.c
qemu-img: avoid unaligned read requests during convert
authorPeter Lieven <[email protected]>
Tue, 1 Sep 2020 12:51:29 +0000 (14:51 +0200)
committerMax Reitz <[email protected]>
Tue, 15 Sep 2020 09:05:12 +0000 (11:05 +0200)
commitaf8d43d3933a4bec0977b9f33d69443a2d166861
tree2736a651824082309c348d45c3746f9e8e9fb289
parent5eb9a3c7b0571562c0289747690e25e6855bc96f
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 <[email protected]>
Message-Id: <20200901125129[email protected]>
[mreitz: Disable vhdx for 251]
Signed-off-by: Max Reitz <[email protected]>
qemu-img.c
tests/qemu-iotests/251
This page took 0.026311 seconds and 4 git commands to generate.