Add virtio-mmio support to libqos and test case for virtio-blk.

This series depends on patch "libqos: Convert malloc-pc allocator to a generic 
allocator"

Changes from version 2:
 - Fix leaks and minor bugs
 - Extract basic test case to a function

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 |   50 +++++++++
 tests/libqos/malloc-generic.h |   21 ++++
 tests/libqos/virtio-mmio.c    |  190 +++++++++++++++++++++++++++++++
 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       |  249 ++++++++++++++++++++++++++++-------------
 10 files changed, 534 insertions(+), 124 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


Reply via email to