1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +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 qemu: Don't assign alias to disabled balloon device 2018-03-19 21:22:43 +01:00
qemuhotplug-base-ccw-live-with-2-ccw-virtio+ccw-virtio-1-explicit.xml tests: Drop IDE controller in CCW 2017-12-06 19:50:21 -05:00
qemuhotplug-base-ccw-live-with-2-ccw-virtio+ccw-virtio-1-reverse.xml qemu: Don't assign alias to disabled balloon device 2018-03-19 21:22:43 +01:00
qemuhotplug-base-ccw-live-with-ccw-virtio.xml qemu: Don't assign alias to disabled balloon device 2018-03-19 21:22:43 +01:00
qemuhotplug-base-ccw-live-with-ccw-virtio+ccw-virtio-2-explicit.xml qemu: Don't assign alias to disabled balloon device 2018-03-19 21:22:43 +01:00
qemuhotplug-base-ccw-live-with-ccw-virtio+ccw-virtio-2.xml qemu: Don't assign alias to disabled balloon device 2018-03-19 21:22:43 +01:00
qemuhotplug-base-ccw-live.xml qemu: Don't assign alias to disabled balloon device 2018-03-19 21:22:43 +01:00
qemuhotplug-base-ccw-live+ccw-virtio.xml qemu: Don't assign alias to disabled balloon device 2018-03-19 21:22:43 +01:00
qemuhotplug-base-live.xml qemu: Don't assign alias to disabled balloon device 2018-03-19 21:22:43 +01:00
qemuhotplug-base-live+disk-scsi-wwn.xml tests: hotplug: Test disks with duplicate WWNs 2017-06-23 14:11:25 +02:00
qemuhotplug-base-live+disk-scsi-wwn+disk-scsi-duplicate-wwn.xml qemu: Don't assign alias to disabled balloon device 2018-03-19 21:22:43 +01:00
qemuhotplug-base-live+disk-scsi.xml qemu: Don't assign alias to disabled balloon device 2018-03-19 21:22:43 +01:00
qemuhotplug-base-live+disk-usb.xml qemu: Don't assign alias to disabled balloon device 2018-03-19 21:22:43 +01:00
qemuhotplug-base-live+disk-virtio.xml qemu: Don't assign alias to disabled balloon device 2018-03-19 21:22:43 +01:00
qemuhotplug-base-live+guestfwd.xml qemuhotplugtest: Test guestfwd attach and detach 2019-02-14 09:22:17 +01:00
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 qemu: Don't assign alias to disabled balloon device 2018-03-19 21:22:43 +01:00
qemuhotplug-base-live+ivshmem-plain-detach.xml
qemuhotplug-base-live+ivshmem-plain.xml qemu: Don't assign alias to disabled balloon device 2018-03-19 21:22:43 +01:00
qemuhotplug-base-live+qemu-agent-detach.xml tests: unify qemu binary paths for all qemu related tests 2017-04-11 14:06:47 +02:00
qemuhotplug-base-live+qemu-agent.xml qemu: Don't assign alias to disabled balloon device 2018-03-19 21:22:43 +01:00
qemuhotplug-base-live+watchdog-user-alias.xml qemu: Don't assign alias to disabled balloon device 2018-03-19 21:22:43 +01:00
qemuhotplug-base-live+watchdog.xml qemu: Don't assign alias to disabled balloon device 2018-03-19 21:22:43 +01:00
qemuhotplug-base-with-scsi-controller-live.xml qemu: Don't assign alias to disabled balloon device 2018-03-19 21:22:43 +01:00
qemuhotplug-base-with-scsi-controller-live+disk-scsi-2.xml tests: unify qemu binary paths for all qemu related tests 2017-04-11 14:06:47 +02:00
qemuhotplug-base-without-scsi-controller-live.xml tests: unify qemu binary paths for all qemu related tests 2017-04-11 14:06:47 +02:00
qemuhotplug-base-without-scsi-controller-live+disk-scsi-2.xml qemuhotplugtest: Don't plug a SCSI disk at unit 7 2019-04-18 17:08:33 +02:00
qemuhotplug-base+qemu-agent-detach.xml tests: unify qemu binary paths for all qemu related tests 2017-04-11 14:06:47 +02:00
qemuhotplug-base+qemu-agent.xml tests: unify qemu binary paths for all qemu related tests 2017-04-11 14:06:47 +02:00
qemuhotplug-console-compat-2-live.xml qemu: Set targetModel based on targetType for serial devices 2017-11-28 15:46:33 +01:00
qemuhotplug-console-compat-2-live+console-virtio.xml qemu: Set targetModel based on targetType for serial devices 2017-11-28 15:46:33 +01:00
qemuhotplug-disk-cdrom.xml tests: unify qemu binary paths for all qemu related tests 2017-04-11 14:06:47 +02:00
qemuhotplug-graphics-spice-listen-network.xml tests: unify qemu binary paths for all qemu related tests 2017-04-11 14:06:47 +02:00
qemuhotplug-graphics-spice-timeout.xml tests: unify qemu binary paths for all qemu related tests 2017-04-11 14:06:47 +02:00
qemuhotplug-graphics-spice.xml tests: unify qemu binary paths for all qemu related tests 2017-04-11 14:06:47 +02:00
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