diff options
| author | Wang Liang <wangliangzz@inspur.com> | 2023-04-24 18:39:02 +0800 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2023-04-25 15:11:57 +0200 |
| commit | 8c1e8fb2e7fc2cbeb57703e143965a4cd3ad301a (patch) | |
| tree | 72417ff6f86c055480803e0e4a4a254f928de64e /docs/devel/qapi-code-gen.rst | |
| parent | 5a5a9fdd15622bf5087e93115e5d787317df0ecb (diff) | |
| download | focaccia-qemu-8c1e8fb2e7fc2cbeb57703e143965a4cd3ad301a.tar.gz focaccia-qemu-8c1e8fb2e7fc2cbeb57703e143965a4cd3ad301a.zip | |
block/monitor: Fix crash when executing HMP commit
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 <wangliangzz@inspur.com> Message-Id: <20230424103902.45265-1-wangliangzz@126.com> Reviewed-by: Emanuele Giuseppe Esposito <eesposit@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'docs/devel/qapi-code-gen.rst')
0 files changed, 0 insertions, 0 deletions