qemu-img convert malfunction on macOS
Bug #1813406 reported by
Chen Zhang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
On macOS 10.13.6, `qemu-img convert` failed to convert a qcow2 into a new qcow2 (for the purpose of shrinking the image).
A 50GB (3.7GB allocated) qcow2 image was used as source. The qemu-img convert output was a 3.4MB file.
qemu-img from HomeBrew were tested. Both 2.11.1 and 3.1.0_1 failed to convert a qcow2 image.
To post a comment you must log in.
Preliminary debugging seems to hint that wrong image convert status for some sectors during iteration in convert_do_copy() accumulated a much smaller allocated_sectors than it should.