Searched hist:"57 f3d07b18a46cff4bc9dbb0a36173ef5b7420a3" (Results 1 – 1 of 1) sorted by relevance
/qemu/tests/unit/ |
H A D | test-bdrv-drain.c | 57f3d07b18a46cff4bc9dbb0a36173ef5b7420a3 Thu May 04 11:57:35 UTC 2023 Kevin Wolf <kwolf@redhat.com> 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>
|