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
v4: Solved bugs, changed some interfaces, added MSI-X and event_idx support.
Marc Marí (11):
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
libqos: Added MSI-X support
libqos: Added EVENT_IDX support
hw/block/virtio-blk.c | 14 +-
tests/Makefile | 3 +-
tests/libqos/malloc-pc.c | 2 +-
tests/libqos/malloc.h | 2 +-
tests/libqos/pci.c | 110 +++++++++-
tests/libqos/pci.h | 10 +
tests/libqos/virtio-pci.c | 337 ++++++++++++++++++++++++++++++
tests/libqos/virtio-pci.h | 61 ++++++
tests/libqos/virtio.c | 255 +++++++++++++++++++++++
tests/libqos/virtio.h | 182 ++++++++++++++++
tests/libqtest.c | 7 +-
tests/virtio-blk-test.c | 501 ++++++++++++++++++++++++++++++++++++++++++++-
12 files changed, 1463 insertions(+), 21 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