Am 24/04/2023 um 12:39 schrieb [email protected]:
> From: Wang Liang <[email protected]>
>
> hmp_commit() calls blk_is_available() from a non-coroutine context (and in
> the main loop). blk_is_available() is a co_wrapper_mixed_bdrv_rdlock
> function, and in the non-coroutine context it calls AIO_WAIT_WHILE(),
> which crashes if the aio_context lock is not taken before.
>
> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1615
> Signed-off-by: Wang Liang <[email protected]>
>
Thanks!
Reviewed-by: Emanuele Giuseppe Esposito <[email protected]>