]> xenbits.xensource.com Git - qemu-xen.git/commit
tests: add specialized device_find function
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 7 Feb 2017 12:53:11 +0000 (16:53 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 1 Mar 2017 07:57:04 +0000 (11:57 +0400)
commitc4523aae0664aecaa366d45e3d0f3d810ca33062
tree77087986532cc18a45ea04ed66b995cc3f52f74b
parent62030ed135e4cfb960cb626510cbb3ea77bb9ef9
tests: add specialized device_find function

Allow specifying which slot to look for the device.

This will be used in the following patch to avoid leaking when multiple
devices exists and we want to lookup the hotplug one.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
tests/libqos/virtio-pci.c
tests/libqos/virtio-pci.h