mbox series

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

Message ID 20221205121029.1089209-1-eesposit@redhat.com (mailing list archive)
Headers show
Series Fixes to test-bdrv-drain unit test | expand

Message

Emanuele Giuseppe Esposito Dec. 5, 2022, 12:10 p.m. UTC
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(-)