Add functions for virtio PCI libqos driver. Add more debugging tools. Solve bugs found while generating tests.
Marc Marí (7): 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 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 | 189 +++++++++++++++++++++++++++++++++++++ tests/libqos/virtio-pci.h | 48 ++++++++++ tests/libqos/virtio.c | 120 ++++++++++++++++++++++++ tests/libqos/virtio.h | 127 +++++++++++++++++++++++++ tests/libqtest.c | 11 ++- tests/virtio-blk-test.c | 228 +++++++++++++++++++++++++++++++++++++++++++-- 10 files changed, 725 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