This is a follow-up to patch 2 of my "qcow2: Unaligned zero cluster in handle_alloc()" series. That patch adds a way to correctly deal with such clusters, this patch here adds a way to repair them.
Naturally, this patch is therefore based on that series: Based-on: <20171110203111.7666-1-mre...@redhat.com> Max Reitz (1): qcow2: Repair unaligned preallocated zero clusters block/qcow2-refcount.c | 70 ++++++++++++++++++++++++++++++++++++++-------- tests/qemu-iotests/060 | 3 +- tests/qemu-iotests/060.out | 9 ++++++ 3 files changed, 69 insertions(+), 13 deletions(-) -- 2.13.6