diff --git a/config/tests/guest/libvirt/pci_passthrough.cfg b/config/tests/guest/libvirt/pci_passthrough.cfg index 5f59324f..9458def4 100644 --- a/config/tests/guest/libvirt/pci_passthrough.cfg +++ b/config/tests/guest/libvirt/pci_passthrough.cfg @@ -90,5 +90,18 @@ variants: - pci_passthrough_eeh: only libvirt_pci_passthrough_eeh + - negative_split_iommu_group: + only libvirt_pci_passthrough.negative_split_iommu_group + # Negative test: assign only ONE device of a multi-function IOMMU + # group to the guest while the other members of the group stay bound + # to their host driver. The guest must fail to start because the + # IOMMU group is not viable. + # PCI address of ONE device of such an IOMMU group. The group must + # contain other devices that are not bound to vfio-pci. + # Eg: 0000:05:00.0 + split_pci = "ENTER.YOUR.PCI.LABEL" + # Error expected from libvirt/QEMU when the guest fails to start + negative_split_expected_err = "is not viable" + - guest_remove: only remove_guest.without_disk