This series enables USB tests on PPC64, and for that implements libqos SPAPR PCI support.
v5: - Add Cédric's patch providing read/write accessors with a specific endianness, and use it - don't duplicate usb-hcd-uhci-test machine parameters and exit gracefully for an unsupported machine v4: - rebase on ppc-for-2.8 - move endianness management in pci-spapr.c and remove the two useless patches managing that - Add David's R-b v3: - rebase - minor fixes (commas, comments) - add Greg's R-b v2: - rebase - revert order in qtest_common_shutdown() to release PCI and then memory allocator - remove useless byte-swapping in qpci-spapr.c - compute machine endianness on qtest_init() - introduce target_cpu_to_leXX()/target_cpu_to_beXX() target_leXX_to_cpu()/target_beXX_to_cpu() Cédric Le Goater (1): qtest: add read/write accessors with a specific endianness Laurent Vivier (4): libqos: add PPC64 PCI support libqos: add PCI management in qtest_vboot()/qtest_shutdown() libqos: use generic qtest_shutdown() tests: enable ohci/uhci/xhci tests on PPC64 tests/Makefile.include | 9 +- tests/e1000e-test.c | 2 +- tests/i440fx-test.c | 2 +- tests/ide-test.c | 2 +- tests/ivshmem-test.c | 2 +- tests/libqos/ahci.c | 2 +- tests/libqos/libqos-pc.c | 8 +- tests/libqos/libqos-spapr.c | 8 +- tests/libqos/libqos.c | 32 ++++- tests/libqos/libqos.h | 11 +- tests/libqos/pci-pc.c | 24 +--- tests/libqos/pci-pc.h | 3 +- tests/libqos/pci-spapr.c | 282 ++++++++++++++++++++++++++++++++++++++++++++ tests/libqos/pci-spapr.h | 17 +++ tests/libqos/pci.c | 22 +++- tests/libqos/rtas.c | 45 +++++++ tests/libqos/rtas.h | 4 + tests/libqtest.c | 91 ++++++++++++++ tests/libqtest.h | 71 +++++++++++ tests/q35-test.c | 2 +- tests/rtas-test.c | 2 +- tests/rtl8139-test.c | 2 +- tests/tco-test.c | 2 +- tests/usb-hcd-ehci-test.c | 2 +- tests/usb-hcd-uhci-test.c | 27 +++-- tests/vhost-user-test.c | 4 +- tests/virtio-9p-test.c | 2 +- tests/virtio-blk-test.c | 2 +- tests/virtio-net-test.c | 2 +- tests/virtio-scsi-test.c | 2 +- 30 files changed, 624 insertions(+), 62 deletions(-) create mode 100644 tests/libqos/pci-spapr.c create mode 100644 tests/libqos/pci-spapr.h -- 2.7.4