iotests: Test blockdev-create in iothread
commit80e7faaac6f363c9902fbab3f5cc463e4e3d933f
authorKevin Wolf <kwolf@redhat.com>
Thu, 25 May 2023 12:47:13 +0000 (25 14:47 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 30 May 2023 15:29:44 +0000 (30 17:29 +0200)
tree9f01b44790f942000aad0399e1d920051bdf4c4f
parentbc05c638e5063695ff85e274204f46e333d1a743
iotests: Test blockdev-create in iothread

If blockdev-create references an existing node in an iothread (e.g. as
it's 'file' child), then suddenly all of the image creation code must
run in that AioContext, too. Test that this actually works.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20230525124713.401149-13-kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/tests/iothreads-create [new file with mode: 0755]
tests/qemu-iotests/tests/iothreads-create.out [new file with mode: 0644]