Am 24/04/2023 um 12:39 schrieb wanglian...@126.com:
> From: Wang Liang <wanglian...@inspur.com>
>
> 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 <wanglian...@inspur.com>
>
Thanks!
Reviewed-by: Emanuele Giuseppe Esposito <eespo...@redhat.com>