Kevin Wolf 57f3d07b18 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>
2023-05-10 14:16:53 +02:00
..
2023-03-28 15:23:10 -07:00
2023-02-08 07:28:05 +01:00
2022-04-20 18:00:30 -03:00
2022-12-20 17:09:41 -08:00
2022-04-21 17:03:51 +04:00
2022-04-20 10:51:11 -07:00
2023-03-28 15:23:10 -07:00
2023-03-20 12:43:50 +01:00