Add virtio-mmio support to libqos and test case for virtio-blk. Changes for version 3: - Fix leaks and minor bugs - Extract basic test case to a function
Changes for version 4: - Add format=raw to images, to avoid warnings - Solve bug with timeout in interrupt checking in virtio MMIO due to a race condition Changes for version 5: - Change function generic_alloc_init_flags in tests/libqos/malloc-generic.c to compile with changes from commit f6f363c1f4f962aee9f69c67ab2f3ff58c30f8c1. Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com> Marc Marí (5): libqos: Change use of pointers to uint64_t in virtio tests: Prepare virtio-blk-test for multi-arch implementation libqos: Remove PCI assumptions in constants of virtio driver libqos: Add malloc generic libqos: Add virtio MMIO support tests/Makefile | 4 +- tests/libqos/malloc-generic.c | 39 +++++++ tests/libqos/malloc-generic.h | 21 ++++ tests/libqos/virtio-mmio.c | 198 +++++++++++++++++++++++++++++++ tests/libqos/virtio-mmio.h | 46 ++++++++ tests/libqos/virtio-pci.c | 50 ++++---- tests/libqos/virtio-pci.h | 24 ++-- tests/libqos/virtio.c | 8 +- tests/libqos/virtio.h | 16 +-- tests/virtio-blk-test.c | 259 ++++++++++++++++++++++++++++------------- 10 files changed, 537 insertions(+), 128 deletions(-) create mode 100644 tests/libqos/malloc-generic.c create mode 100644 tests/libqos/malloc-generic.h create mode 100644 tests/libqos/virtio-mmio.c create mode 100644 tests/libqos/virtio-mmio.h -- 1.7.10.4