Skip to content

qcow2: write_zeroes corruption fixes and tests

Kevin Wolf qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3qcow2: fix condition in is_zero_clusterblock/qcow2.c+1 -11 reply
2/3qcow2: Fix write_zeroes with partially allocated backing file clusterblock/qcow2.c+2 -12 replies
3/3qemu-iotests: Some more write_zeroes teststests/qemu-iotests/154 tests/qemu-iotests/154.out tests/qemu-iotests/group+165 -05 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchEric BlakeDenis V. Lunev
1/3R-b
2/3R-b R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] qcow2: write_zeroes corruption fixes and tests

These are the qcow2 write_zeroes fixes that need to be merged with the next pull request as they can actually cause image corruption. The rest of Den's patches are mostly cleanups, so they aren't quite as urgent.

Denis V. Lunev (1):
qcow2: fix condition in is_zero_cluster

Kevin Wolf (2):
qcow2: Fix write_zeroes with partially allocated backing file cluster
qemu-iotests: Some more write_zeroes tests

 block/qcow2.c              |   3 +-
 tests/qemu-iotests/154     | 100 +++++++++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/154.out |  64 +++++++++++++++++++++++++++++
 tests/qemu-iotests/group   |   1 +
 4 files changed, 167 insertions(+), 1 deletion(-)
 create mode 100755 tests/qemu-iotests/154
 create mode 100644 tests/qemu-iotests/154.out
Signature · 1 line
1.8.3.1