During qemu-io VM disk read, there is a possibility for qemu-io to abort crashing the process running. This also crashes the VM the read is running against.
[Test Case]
Steps to reproduce outside of a block pull:
# qemu-img create -f qcow2 test 1024 2>&1
# qemu-io -f qcow2 -C -c 'read 0 1024' test
[Impact]
During qemu-io VM disk read, there is a possibility for qemu-io to abort crashing the process running. This also crashes the VM the read is running against.
[Test Case]
Steps to reproduce outside of a block pull:
# qemu-img create -f qcow2 test 1024 2>&1
# qemu-io -f qcow2 -C -c 'read 0 1024' test
Error: qemu-Eap4uc/ qemu-2. 11+dfsg/ block/io. c:1042: bdrv_co_ do_copy_ on_readv: Assertion `skip_bytes < pnum' failed.
qemu-io: /build/
Aborted (core dumped)
QEMU Test: https:/ /github. com/qemu/ qemu/blob/ bf22957309369cf 6f642e715ff6c47 0671920e7e/ tests/qemu- iotests/ 197