]> git.proxmox.com Git - mirror_qemu.git/commit
iotests: Test resizing image attached to an iothread
authorKevin Wolf <kwolf@redhat.com>
Tue, 9 May 2023 13:41:33 +0000 (15:41 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 10 May 2023 12:16:53 +0000 (14:16 +0200)
commite113362e4cdfdcfe1d497e569527f70a0021333a
treecfe591c4898c7a9b1a3c7260cf171adeae3b9fd3
parent0c7d204f50c382c6baac8c94bd57af4a022b3888
iotests: Test resizing image attached to an iothread

This tests that trying to resize an image with QMP block_resize doesn't
hang or otherwise fail when the image is attached to a device running in
an iothread.

This is a regression test for the recent fix that changed
qmp_block_resize, which is a coroutine based QMP handler, to avoid
calling no_coroutine_fns directly.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20230509134133.373408-1-kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/tests/iothreads-resize [new file with mode: 0755]
tests/qemu-iotests/tests/iothreads-resize.out [new file with mode: 0644]