[PATCH 0/2] Fixes to test-bdrv-drain unit test

Emanuele Giuseppe Esposito posted 2 patches 1 year, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20221205121029.1089209-1-eesposit@redhat.com
tests/unit/test-bdrv-drain.c | 159 ++++++++++++++++++-----------------
1 file changed, 82 insertions(+), 77 deletions(-)
[PATCH 0/2] Fixes to test-bdrv-drain unit test
Posted by Emanuele Giuseppe Esposito 1 year, 5 months ago
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-eesposit@redhat.com/20220314131854.2202651-7-eesposit@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