This series is based on: "[Qemu-devel] [PATCH 0/2] ahci: test varying sector offsets"
There appear to be some upstream issues for iotests 051 and 061, but this series does not appear to alter the existing bad behavior of those tests. This patchset brings us up to feature parity with the ide-test that was checked in for the rerror/werror migration fixes series. With the expanded functionality of libqos, we test error injection and error recovery for the AHCI device. v1 got bounced due to a prerequisite failing a test during a pull req, so v2 is nearly unchanged: v2: - Rebased to master - Fixed an include issue for patch 5. John Snow (6): qtest/ahci: Add simple flush test qtest/ahci: Allow override of default CLI options libqtest: add qmp_eventwait libqtest: add qmp_async libqos: add blkdebug_prepare_script qtest/ahci: add flush retry test tests/ahci-test.c | 143 ++++++++++++++++++++++++++++++++++++++++------- tests/ide-test.c | 34 +---------- tests/libqos/libqos-pc.c | 5 ++ tests/libqos/libqos-pc.h | 1 + tests/libqos/libqos.c | 22 ++++++++ tests/libqos/libqos.h | 1 + tests/libqtest.c | 46 ++++++++++++++- tests/libqtest.h | 47 ++++++++++++++++ 8 files changed, 245 insertions(+), 54 deletions(-) -- 1.9.3