tests: Functions bus_foreach and device_find from libqos virtio API
commit311e666aea7164b6d3b8a7e845fb32a509bfdf08
authorMarc Marí <marc.mari.barcelo@gmail.com>
Mon, 1 Sep 2014 10:07:54 +0000 (1 12:07 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 8 Sep 2014 10:12:43 +0000 (8 11:12 +0100)
tree91bdbd0cdb467e9051d25731730f551600a8cfcc
parent4c0cfc72b31a79f737a64ebbe0411e4b83e25771
tests: Functions bus_foreach and device_find from libqos virtio API

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.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Marc Marí <marc.mari.barcelo@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/Makefile
tests/libqos/virtio-pci.c [new file with mode: 0644]
tests/libqos/virtio-pci.h [new file with mode: 0644]
tests/libqos/virtio.h [new file with mode: 0644]
tests/virtio-blk-test.c