Skip to content

ahci: rerror/werror=stop resume tests

John Snow qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 2 repliesIn review
  2. v16 patches 2 repliesApplied

Changes in v2 from the cover letter

- Rebased to master
- Fixed an include issue for patch 5.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6qtest/ahci: Add simple flush testtests/ahci-test.c+34 -00 replies
2/6qtest/ahci: Allow override of default CLI optionstests/ahci-test.c tests/libqos/libqos-pc.c tests/libqos/libqos-pc.h+51 -220 replies
3/6libqtest: add qmp_eventwaittests/ide-test.c tests/libqtest.c tests/libqtest.h+37 -100 replies
4/6libqtest: add qmp_asynctests/libqtest.c tests/libqtest.h+56 -10 replies
5/6libqos: add blkdebug_prepare_scripttests/ide-test.c tests/libqos/libqos.c tests/libqos/libqos.h+24 -220 replies
6/6qtest/ahci: add flush retry testtests/ahci-test.c+44 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/6] ahci: rerror/werror=stop resume tests

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(-)
Signature · 1 line
1.9.3