This is a fix for https://bugs.launchpad.net/qemu/+bug/1343827.
Patch 1 fixes the bug. Patch 2 adds a qemu-iotests test case to prevent regressions. Stefan Hajnoczi (2): block: fix overlapping multiwrite requests qemu-iotests: add multiwrite test cases block.c | 6 +++ tests/qemu-iotests/100 | 97 ++++++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/100.out | 54 ++++++++++++++++++++++++++ tests/qemu-iotests/group | 1 + 4 files changed, 158 insertions(+) create mode 100755 tests/qemu-iotests/100 create mode 100644 tests/qemu-iotests/100.out -- 1.9.3