Add ATAPI support into libqos/ahci, and write a few tests for it. I intend this for 2.5, as it's just a test and might help unearth some bugs during release candidate testing.
This is the last "batch" of planned qtests for s/ata -- basic i/o testing of HDDs and CDROMs on both PCI and AHCI should be complete after this series. ________________________________________________________________________________ For convenience, this branch is available at: https://github.com/jnsnow/qemu.git branch ahci-atapi-qtests https://github.com/jnsnow/qemu/tree/ahci-atapi-qtests This version is tagged ahci-atapi-qtests-v1: https://github.com/jnsnow/qemu/releases/tag/ahci-atapi-qtests-v1 John Snow (9): ahci-test: fix memory leak libqos/ahci: ATAPI support libqos/ahci: ATAPI identify libqos/ahci: Switch to mutable properties libqos: allow zero-size allocations libqos/ahci: allow nondata commands for ahci_io variants libqos/ahci: add ahci_exec qtest/ahci: ATAPI data tests libqos/ahci: organize header tests/ahci-test.c | 131 ++++++++++++++++++++++++++++++------ tests/libqos/ahci.c | 181 +++++++++++++++++++++++++++++++++++++++++++++++--- tests/libqos/ahci.h | 66 +++++++++++++++--- tests/libqos/malloc.c | 4 ++ 4 files changed, 341 insertions(+), 41 deletions(-) -- 2.4.3