Re: [Qemu-devel] [PATCH] block: Don't acquire AioContext in hmp_qemu_io()

2017-12-13 Thread Kevin Wolf
Am 12.12.2017 um 14:48 hat Kevin Wolf geschrieben: > Commit 15afd94a047 added code to acquire and release the AioContext in > qemuio_command(). This means that the lock is taken twice now in the > call path from hmp_qemu_io(). This causes BDRV_POLL_WHILE() to hang for > any requests issued to nodes

[Qemu-devel] [PATCH] block: Don't acquire AioContext in hmp_qemu_io()

2017-12-12 Thread Kevin Wolf
Commit 15afd94a047 added code to acquire and release the AioContext in qemuio_command(). This means that the lock is taken twice now in the call path from hmp_qemu_io(). This causes BDRV_POLL_WHILE() to hang for any requests issued to nodes in a non-mainloop AioContext. Dropping the first locking