See patch one's commit message for justification.
v2: added patch 4, with iotest framework adjustments in patches 2/3.
John Snow (4):
blockdev-backup: don't check aio_context too early
iotests.py: do not use infinite waits
iotests.py: rewrite run_job to be pickier
iotests: add iotest 250 for testing blockdev-backup across iothread
contexts
blockdev.c | 4 --
tests/qemu-iotests/250 | 129 ++++++++++++++++++++++++++++++++++
tests/qemu-iotests/250.out | 119 +++++++++++++++++++++++++++++++
tests/qemu-iotests/group | 1 +
tests/qemu-iotests/iotests.py | 44 ++++++------
5 files changed, 270 insertions(+), 27 deletions(-)
create mode 100755 tests/qemu-iotests/250
create mode 100644 tests/qemu-iotests/250.out
--
2.20.1