On Tue, Aug 12, 2014 at 01:41:46PM +0200, Marc Marí wrote: > Virtio header has been changed to compile and work with a real device. > Functions bus_foreach and device_find have been implemented for PCI. > Virtio-blk test case now opens a fake device. > > Signed-off-by: Marc Marí <marc.mari.barc...@gmail.com> > --- > tests/Makefile | 3 +- > tests/libqos/virtio-pci.c | 75 > +++++++++++++++++++++++++++++++++++++++++++++ > tests/libqos/virtio-pci.h | 24 +++++++++++++++ > tests/libqos/virtio.h | 23 ++++++++++++++ > tests/virtio-blk-test.c | 61 +++++++++++++++++++++++++++++++----- > 5 files changed, 177 insertions(+), 9 deletions(-) > create mode 100644 tests/libqos/virtio-pci.c > create mode 100644 tests/libqos/virtio-pci.h > create mode 100644 tests/libqos/virtio.h
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
pgpRjz6P2GQA8.pgp
Description: PGP signature