[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-io: /build/qemu-Eap4uc/qemu-2.11+dfsg/block/io.c:1042: 
bdrv_co_do_copy_on_readv: Assertion `skip_bytes < pnum' failed.
Aborted (core dumped)

QEMU Test:
https://github.com/qemu/qemu/blob/bf22957309369cf6f642e715ff6c470671920e7e/tests
/qemu-iotests/197

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1818264

Title:
  QEMU 2.11.1 VM crash when performing block pull.
  bdrv_co_do_copy_on_readv

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1818264/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to