aboutsummaryrefslogtreecommitdiff
path: root/qemu-io.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2023-05-04 13:57:35 +0200
committerKevin Wolf <kwolf@redhat.com>2023-05-10 14:16:53 +0200
commit57f3d07b18a46cff4bc9dbb0a36173ef5b7420a3 (patch)
tree77d7187da916f874b78bcaa97d13cbcb205cc905 /qemu-io.c
parente113362e4cdfdcfe1d497e569527f70a0021333a (diff)
downloadqemu-57f3d07b18a46cff4bc9dbb0a36173ef5b7420a3.zip
qemu-57f3d07b18a46cff4bc9dbb0a36173ef5b7420a3.tar.gz
qemu-57f3d07b18a46cff4bc9dbb0a36173ef5b7420a3.tar.bz2
test-bdrv-drain: Don't modify the graph in coroutines
test-bdrv-drain contains a few test cases that are run both in coroutine and non-coroutine context. Running the entire code including the setup and shutdown in coroutines is incorrect because graph modifications can generally not happen in coroutines. Change the test so that creating and destroying the test nodes and BlockBackends always happens outside of coroutine context. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20230504115750.54437-6-kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions