libvirt/tests/qemuhotplugtestdevices
Shivaprasad G Bhat 944a35d7f0 tests: Add test case for QEMU pci-hostdev hotplug
This patch adds hostdev test cases in qemuhotplugtest.c.

Note: the small tweak inside virpcimock.c was needed because
the new tests added a code path in which virHostHasIOMMU()
(virutil.c) started being called, and the mocked '/sys/kernel/'
prefix that is mocked in virpcimock.c wasn't being considered
in the opendir() mock. An alternative to avoid these situations
in virpcimock.c is implemented in the next patch.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Shivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
2019-09-09 16:44:24 +02:00
..
qemuhotplug-ccw-virtio-1-explicit.xml
qemuhotplug-ccw-virtio-1-reverse.xml
qemuhotplug-ccw-virtio-2-explicit.xml
qemuhotplug-ccw-virtio-2.xml
qemuhotplug-ccw-virtio.xml
qemuhotplug-console-virtio.xml
qemuhotplug-disk-cdrom-nochange.xml
qemuhotplug-disk-scsi-2.xml
qemuhotplug-disk-scsi-duplicate-wwn.xml
qemuhotplug-disk-scsi.xml
qemuhotplug-disk-usb.xml
qemuhotplug-disk-virtio.xml
qemuhotplug-graphics-spice-listen-network-password.xml
qemuhotplug-graphics-spice-listen.xml
qemuhotplug-graphics-spice-nochange.xml
qemuhotplug-graphics-spice-timeout-nochange.xml
qemuhotplug-graphics-spice-timeout-password.xml
qemuhotplug-guestfwd.xml
qemuhotplug-hostdev-pci.xml
qemuhotplug-ivshmem-doorbell-detach.xml
qemuhotplug-ivshmem-doorbell.xml
qemuhotplug-ivshmem-plain-detach.xml
qemuhotplug-ivshmem-plain.xml
qemuhotplug-qemu-agent-detach.xml
qemuhotplug-qemu-agent.xml
qemuhotplug-watchdog-full.xml qemu: hot-unplug of watchdog 2017-10-05 14:23:20 +02:00
qemuhotplug-watchdog-user-alias-full.xml
qemuhotplug-watchdog-user-alias.xml
qemuhotplug-watchdog.xml