Add functions for virtio PCI libqos driver. Add more debugging tools. Solve bugs found while generating tests.
v3: Solved problems, added indirect descriptor support and test for configuration changes Marc Marí (9): tests: Functions bus_foreach and device_find from libqos virtio API tests: Add virtio device initialization libqtest: add QTEST_LOG for debugging qtest testcases libqos: Correct mask to align size to PAGE_SIZE in malloc-pc libqos: Change free function called in malloc virtio-blk: Correct bug in support for flexible descriptor layout libqos: Added basic virtqueue support to virtio implementation libqos: Added indirect descriptor support to virtio implementation libqos: Added test case for configuration changes in virtio-blk test hw/block/virtio-blk.c | 14 +- tests/Makefile | 3 +- tests/libqos/malloc-pc.c | 2 +- tests/libqos/malloc.h | 2 +- tests/libqos/virtio-pci.c | 219 ++++++++++++++++++++++++++++ tests/libqos/virtio-pci.h | 49 +++++++ tests/libqos/virtio.c | 206 ++++++++++++++++++++++++++ tests/libqos/virtio.h | 152 +++++++++++++++++++ tests/libqtest.c | 7 +- tests/virtio-blk-test.c | 355 ++++++++++++++++++++++++++++++++++++++++++++- 10 files changed, 990 insertions(+), 19 deletions(-) create mode 100644 tests/libqos/virtio-pci.c create mode 100644 tests/libqos/virtio-pci.h create mode 100644 tests/libqos/virtio.c create mode 100644 tests/libqos/virtio.h -- 1.7.10.4