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 qemuhotplugtest: Add tests for ccw devices 2016-07-25 10:51:08 +02:00
qemuhotplug-ccw-virtio-1-reverse.xml qemuhotplugtest: Add tests for ccw devices 2016-07-25 10:51:08 +02:00
qemuhotplug-ccw-virtio-2-explicit.xml qemuhotplugtest: Add tests for ccw devices 2016-07-25 10:51:08 +02:00
qemuhotplug-ccw-virtio-2.xml qemuhotplugtest: Add tests for ccw devices 2016-07-25 10:51:08 +02:00
qemuhotplug-ccw-virtio.xml qemuhotplugtest: Add tests for ccw devices 2016-07-25 10:51:08 +02:00
qemuhotplug-console-virtio.xml
qemuhotplug-disk-cdrom-nochange.xml
qemuhotplug-disk-scsi-2.xml qemuhotplugtest: Don't plug a SCSI disk at unit 7 2019-04-18 17:08:33 +02:00
qemuhotplug-disk-scsi-duplicate-wwn.xml tests: hotplug: Test disks with duplicate WWNs 2017-06-23 14:11:25 +02:00
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 qemuhotplugtest: Test guestfwd attach and detach 2019-02-14 09:22:17 +01:00
qemuhotplug-hostdev-pci.xml tests: Add test case for QEMU pci-hostdev hotplug 2019-09-09 16:44:24 +02:00
qemuhotplug-ivshmem-doorbell-detach.xml qemu: Add support for hot/cold-(un)plug of shmem devices 2016-11-02 17:36:50 +01:00
qemuhotplug-ivshmem-doorbell.xml qemu: Add support for hot/cold-(un)plug of shmem devices 2016-11-02 17:36:50 +01:00
qemuhotplug-ivshmem-plain-detach.xml qemu: Add support for hot/cold-(un)plug of shmem devices 2016-11-02 17:36:50 +01:00
qemuhotplug-ivshmem-plain.xml qemu: Add support for hot/cold-(un)plug of shmem devices 2016-11-02 17:36:50 +01:00
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 qemuhotplugtest: Test user supplied alias 2017-10-27 14:43:21 +02:00
qemuhotplug-watchdog-user-alias.xml qemuhotplugtest: Test user supplied alias 2017-10-27 14:43:21 +02:00
qemuhotplug-watchdog.xml qemu: hot-plug of watchdog 2017-10-05 14:23:20 +02:00