aboutsummaryrefslogtreecommitdiff
path: root/hw/block
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2022-02-03 15:05:34 +0100
committerKevin Wolf <kwolf@redhat.com>2022-02-11 09:44:16 +0100
commitee810602376125ca0e0afd6b7c715e13740978ea (patch)
tree0d275ce7cc3c167ba27595ff5ae3c04cd36379d7 /hw/block
parentaba8205be0707b9d108e32254e186ba88107a869 (diff)
downloadqemu-ee810602376125ca0e0afd6b7c715e13740978ea.zip
qemu-ee810602376125ca0e0afd6b7c715e13740978ea.tar.gz
qemu-ee810602376125ca0e0afd6b7c715e13740978ea.tar.bz2
iotests: Test blockdev-reopen with iothreads and throttling
The 'throttle' block driver implements .bdrv_co_drain_end, so blockdev-reopen will have to wait for it to complete in the polling loop at the end of qmp_blockdev_reopen(). This makes AIO_WAIT_WHILE() release the AioContext lock, which causes a crash if the lock hasn't correctly been taken. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20220203140534.36522-3-kwolf@redhat.com> Reviewed-by: Hanna Reitz <hreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/block')
0 files changed, 0 insertions, 0 deletions