1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-26 03:21:44 +03:00
libvirt/tests/qemuhotplugtestdomains
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-base-ccw-live-with-2-ccw-virtio.xml
qemuhotplug-base-ccw-live-with-2-ccw-virtio+ccw-virtio-1-explicit.xml
qemuhotplug-base-ccw-live-with-2-ccw-virtio+ccw-virtio-1-reverse.xml
qemuhotplug-base-ccw-live-with-ccw-virtio.xml
qemuhotplug-base-ccw-live-with-ccw-virtio+ccw-virtio-2-explicit.xml
qemuhotplug-base-ccw-live-with-ccw-virtio+ccw-virtio-2.xml
qemuhotplug-base-ccw-live.xml
qemuhotplug-base-ccw-live+ccw-virtio.xml
qemuhotplug-base-live.xml
qemuhotplug-base-live+disk-scsi-wwn.xml
qemuhotplug-base-live+disk-scsi-wwn+disk-scsi-duplicate-wwn.xml
qemuhotplug-base-live+disk-scsi.xml
qemuhotplug-base-live+disk-usb.xml
qemuhotplug-base-live+disk-virtio.xml
qemuhotplug-base-live+guestfwd.xml
qemuhotplug-base-live+hostdev-pci.xml tests: Add test case for QEMU pci-hostdev hotplug 2019-09-09 16:44:24 +02:00
qemuhotplug-base-live+ivshmem-doorbell-detach.xml
qemuhotplug-base-live+ivshmem-doorbell.xml
qemuhotplug-base-live+ivshmem-plain-detach.xml
qemuhotplug-base-live+ivshmem-plain.xml
qemuhotplug-base-live+qemu-agent-detach.xml
qemuhotplug-base-live+qemu-agent.xml
qemuhotplug-base-live+watchdog-user-alias.xml
qemuhotplug-base-live+watchdog.xml
qemuhotplug-base-with-scsi-controller-live.xml
qemuhotplug-base-with-scsi-controller-live+disk-scsi-2.xml
qemuhotplug-base-without-scsi-controller-live.xml
qemuhotplug-base-without-scsi-controller-live+disk-scsi-2.xml
qemuhotplug-base+qemu-agent-detach.xml
qemuhotplug-base+qemu-agent.xml
qemuhotplug-console-compat-2-live.xml
qemuhotplug-console-compat-2-live+console-virtio.xml
qemuhotplug-disk-cdrom.xml
qemuhotplug-graphics-spice-listen-network.xml
qemuhotplug-graphics-spice-timeout.xml
qemuhotplug-graphics-spice.xml
qemuhotplug-pseries-base-live.xml tests: Add test case for QEMU pci-hostdev hotplug 2019-09-09 16:44:24 +02:00
qemuhotplug-pseries-base-live+hostdev-pci.xml tests: Add test case for QEMU pci-hostdev hotplug 2019-09-09 16:44:24 +02:00