Re: [Qemu-devel] [PATCH v2 2/2] block: asynchronously stop the VM on I/O errors

2014-06-19 Thread Eric Blake
On 06/05/2014 06:53 AM, Paolo Bonzini wrote: With virtio-blk dataplane, I/O errors might occur while QEMU is not in the main I/O thread. However, it's invalid to call vm_stop when we're neither in a VCPU thread nor in the main I/O thread, even if we were to take the iothread mutex around it.

[Qemu-devel] [PATCH v2 2/2] block: asynchronously stop the VM on I/O errors

2014-06-05 Thread Paolo Bonzini
With virtio-blk dataplane, I/O errors might occur while QEMU is not in the main I/O thread. However, it's invalid to call vm_stop when we're neither in a VCPU thread nor in the main I/O thread, even if we were to take the iothread mutex around it. To avoid this problem, we can raise a request to