]> git.proxmox.com Git - mirror_qemu.git/commit
block: Don't call no_coroutine_fns in qmp_block_resize()
authorKevin Wolf <kwolf@redhat.com>
Thu, 4 May 2023 11:57:34 +0000 (13:57 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 10 May 2023 12:16:53 +0000 (14:16 +0200)
commit0c7d204f50c382c6baac8c94bd57af4a022b3888
tree70180ec50f256d8be8bf50408ed1d3a4748a57fc
parentb2ab5f545fa1eaaf2955dd617bee19a8b3279786
block: Don't call no_coroutine_fns in qmp_block_resize()

This QMP handler runs in a coroutine, so it must use the corresponding
no_co_wrappers instead.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2185688
Cc: qemu-stable@nongnu.org
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20230504115750.54437-5-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.c