Re: [PATCH] block/monitor/block-hmp-cmds.c: Fix crash when execute hmp_commit

2023-04-24 Thread Wang Liang
On Mon, 2023-04-24 at 10:36 +0200, Emanuele Giuseppe Esposito wrote: > > Am 24/04/2023 um 10:15 schrieb Emanuele Giuseppe Esposito: > > > > Am 23/04/2023 um 13:02 schrieb wanglian...@126.com: > > > From: Wang Liang > > > > > > We need to get the aio_context before calling the > > > blk_is_avail

Re: [PATCH] block/monitor/block-hmp-cmds.c: Fix crash when execute hmp_commit

2023-04-24 Thread Emanuele Giuseppe Esposito
Am 24/04/2023 um 10:15 schrieb Emanuele Giuseppe Esposito: > > > Am 23/04/2023 um 13:02 schrieb wanglian...@126.com: >> From: Wang Liang >> >> We need to get the aio_context before calling the blk_is_available. >> >> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1615 >> Signed-off-b

Re: [PATCH] block/monitor/block-hmp-cmds.c: Fix crash when execute hmp_commit

2023-04-24 Thread Emanuele Giuseppe Esposito
Am 23/04/2023 um 13:02 schrieb wanglian...@126.com: > From: Wang Liang > > We need to get the aio_context before calling the blk_is_available. > > Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1615 > Signed-off-by: Wang Liang > Reviewed-by: Emanuele Giuseppe Esposito

[PATCH] block/monitor/block-hmp-cmds.c: Fix crash when execute hmp_commit

2023-04-23 Thread wangliangzz
From: Wang Liang We need to get the aio_context before calling the blk_is_available. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1615 Signed-off-by: Wang Liang --- block/monitor/block-hmp-cmds.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/block/mo