|
From: | Emanuele Giuseppe Esposito |
Subject: | Re: [PATCH v2] block/monitor/block-hmp-cmds.c: Fix crash when execute hmp_commit |
Date: | Mon, 24 Apr 2023 12:51:41 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 |
Am 24/04/2023 um 12:39 schrieb wangliangzz@126.com: > From: Wang Liang <wangliangzz@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 <wangliangzz@inspur.com> > Thanks! Reviewed-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
[Prev in Thread] | Current Thread | [Next in Thread] |