-
Kevin Wolf authored
Commit 15afd94a 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 from hmp_qemu_io() fixes the problem. Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Reviewed-by:
Stefan Hajnoczi <stefanha@redhat.com>Kevin Wolf authoredCommit 15afd94a 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 from hmp_qemu_io() fixes the problem. Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Reviewed-by:
Stefan Hajnoczi <stefanha@redhat.com>
Loading