See https://bugzilla.redhat.com/1589738; thanks to Nir, Maor, and Dan for figuring out that it was a qemu-img regression and coming up with a test case; and for Kevin for then bisecting it to point to my byte-based conversion code being at fault.
Eric Blake (2): qemu-img: Fix assert when mapping unaligned raw file iotests: Add test 221 to catch qemu-img map regression qemu-img.c | 2 +- tests/qemu-iotests/221 | 60 ++++++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/221.out | 16 +++++++++++++ tests/qemu-iotests/group | 1 + 4 files changed, 78 insertions(+), 1 deletion(-) create mode 100755 tests/qemu-iotests/221 create mode 100644 tests/qemu-iotests/221.out -- 2.14.4
