This test performs graph modification while being in IO_CODE. This is not allowed anymore.
This serie is taken from the forgotten (and partially invalid anymore) serie: "[PATCH v2 00/10] block: bug fixes in preparation of AioContext removal" (actually one could also use patch 9 and 10 from that serie, so if you're interested take a look). https://patchew.org/QEMU/20220314131854.2202651-1-eespo...@redhat.com/20220314131854.2202651-7-eespo...@redhat.com/ This serie substitutes Paolo's recent patch: "[RFC PATCH] test-bdrv-drain: keep graph manipulations out of coroutines" Thank you, Emanuele Emanuele Giuseppe Esposito (2): test-bdrv-drain.c: remove test_detach_by_parent_cb() tests/unit/test-bdrv-drain.c: graph setup functions can't run in coroutines tests/unit/test-bdrv-drain.c | 159 ++++++++++++++++++----------------- 1 file changed, 82 insertions(+), 77 deletions(-) -- 2.31.1