Hello Stefan and Michael, This series starts preparing tests to cover optional PCI devices. They don't do any functional tests but assure that QOM/PCI/VMState refactorings don't break the basic usage of devices not covered by qom-test.
pcnet-test.c is intended to handle sparc's lance as well. v2 starts to cover virtio devices and covers ipack. NB that the Makefile is being prepared for testing ... * PCI devices on different architectures and * VirtIO devices on different transports and * IndustryPack devices on different bridges, but the tests themselves will need some follow-up for choosing the right -machine or adding the required bus -device. My focus for now is on testing devices at all. I'd like to include the IndustryPack tests in my upcoming pull (Monday) and am hoping I can do so on top of the original set of NIC tests for convenience. Regards, Andreas v1 -> v2: * Reordered includes (stefanha) * Used qtest_end() where applicable * Added qtest for tpci200 and ipoctal232 (for my IndustryPack refactoring series) * Added qtests for ne2000, virtio-net, virtio-blk, virtio-balloon, virtio-rng Cc: Stefan Hajnoczi <stefa...@redhat.com> Cc: Michael S. Tsirkin <m...@redhat.com> Cc: Kevin Wolf <kw...@redhat.com> Cc: Alberto Garcia <agar...@igalia.com> Cc: Anthony Liguori <anth...@codemonkey.ws> Cc: Paolo Bonzini <pbonz...@redhat.com> Cc: Peter Maydell <peter.mayd...@linaro.org> Cc: Alexey Kardashevskiy <a...@ozlabs.ru> Andreas Färber (12): tests: Add e1000 qtest tests: Add vmxnet3 qtest tests: Add rtl8139 qtest tests: Add pcnet qtest tests: Add eepro100 qtest tests: Add tpci200 qtest tests: Add ne2000 qtest tests: Add virtio-net qtest tests: Add virtio-blk qtest tests: Add virtio-balloon qtest tests: Add virtio-rng qtest tests: Add ipoctal232 qtest tests/Makefile | 49 +++++++++++++++++++++++++++++++++++ tests/e1000-test.c | 33 ++++++++++++++++++++++++ tests/eepro100-test.c | 63 +++++++++++++++++++++++++++++++++++++++++++++ tests/ipoctal232-test.c | 33 ++++++++++++++++++++++++ tests/ne2000-test.c | 33 ++++++++++++++++++++++++ tests/pcnet-test.c | 33 ++++++++++++++++++++++++ tests/rtl8139-test.c | 33 ++++++++++++++++++++++++ tests/tpci200-test.c | 33 ++++++++++++++++++++++++ tests/virtio-balloon-test.c | 33 ++++++++++++++++++++++++ tests/virtio-blk-test.c | 34 ++++++++++++++++++++++++ tests/virtio-net-test.c | 33 ++++++++++++++++++++++++ tests/virtio-rng-test.c | 33 ++++++++++++++++++++++++ tests/vmxnet3-test.c | 33 ++++++++++++++++++++++++ 13 files changed, 476 insertions(+) create mode 100644 tests/e1000-test.c create mode 100644 tests/eepro100-test.c create mode 100644 tests/ipoctal232-test.c create mode 100644 tests/ne2000-test.c create mode 100644 tests/pcnet-test.c create mode 100644 tests/rtl8139-test.c create mode 100644 tests/tpci200-test.c create mode 100644 tests/virtio-balloon-test.c create mode 100644 tests/virtio-blk-test.c create mode 100644 tests/virtio-net-test.c create mode 100644 tests/virtio-rng-test.c create mode 100644 tests/vmxnet3-test.c -- 1.8.4.5