Skip to content

AHCI test helper refactors

John Snow qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15qtest/ahci: Add AHCIState structuretests/ahci-test.c+138 -1450 replies
2/15qtest/ahci: Add port_select helpertests/ahci-test.c+29 -170 replies
3/15qtest/ahci: Add port_clear helpertests/ahci-test.c+18 -80 replies
4/15qtest/ahci: Add command header helperstests/ahci-test.c+104 -280 replies
5/15qtest/ahci: Add build cmd table helpertests/ahci-test.c+74 -390 replies
6/15qtest/ahci: Add link_cmd_slot helpertests/ahci-test.c+57 -150 replies
7/15qtest/ahci: Add port_check_error helpertests/ahci-test.c+23 -70 replies
8/15qtest/ahci: Add issue_command helpertests/ahci-test.c+21 -40 replies
9/15qtest/ahci: Add port_check_interrupts helpertests/ahci-test.c+16 -100 replies
10/15qtest/ahci: Add port_check_nonbusy helpertests/ahci-test.c+19 -00 replies
11/15qtest/ahci: Add cmd response sanity check helperstests/ahci-test.c+80 -430 replies
12/15qtest/ahci: Enforce zero-leaks for guest mem usagetests/ahci-test.c+24 -30 replies
13/15qtest/ahci: Add a macro bootup routinetests/ahci-test.c+16 -30 replies
14/15qtest/ahci: Add human-readable command namestests/ahci-test.c+9 -10 replies
15/15qtest/ahci: Don't use a magic constant for buffer sizetests/ahci-test.c+6 -50 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/15] AHCI test helper refactors

The original version of the AHCI test base which is now staged for being merged, processes the ahci_identify test in a monolithic fashion.

In authoring new tests, it became necessary and obvious as to how the operation of this device should be factored out to ease the writing of new AHCI tests.

This patch set issues the necessary refactorings to support future test development for AHCI.

This patch set DOES NOT account for any new fixes and requires no fixes from my "AHCI fixes" RFC in order to run successfully on 2014-09-18's origin/master.

This patch set does not alter the operation of the existing test, or add new tests. It only offers refactorings for future patch submissions which depend on them, but are still under consideration.

John Snow (15):
qtest/ahci: Add AHCIState structure qtest/ahci: Add port_select helper qtest/ahci: Add port_clear helper
qtest/ahci: Add command header helpers qtest/ahci: Add build cmd table helper qtest/ahci: Add link_cmd_slot helper qtest/ahci: Add port_check_error helper qtest/ahci: Add issue_command helper qtest/ahci: Add port_check_interrupts helper qtest/ahci: Add port_check_nonbusy helper qtest/ahci: Add cmd response sanity check helpers qtest/ahci: Enforce zero-leaks for guest mem usage qtest/ahci: Add a macro bootup routine qtest/ahci: Add human-readable command names qtest/ahci: Don't use a magic constant for buffer size

 tests/ahci-test.c | 860 ++++++++++++++++++++++++++++++++++++------------------
 1 file changed, 583 insertions(+), 277 deletions(-)
Signature · 1 line
1.9.3