-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added EEH test cases for PCI PT NIC devices
Added 2 test cases 1. Inject EEH from host console for pci pt device 2. Inject EEH from guest console for pci pt device Signed-off-by: Tasmiya Nalatwad <[email protected]>
- Loading branch information
1 parent
3808cba
commit aaefcda
Showing
2 changed files
with
432 additions
and
0 deletions.
There are no files selected for viewing
51 changes: 51 additions & 0 deletions
51
libvirt/tests/cfg/passthrough/pci/libvirt_pci_passthrough_eeh.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
- libvirt_pci_passthrough_eeh: | ||
virt_test_type = libvirt | ||
provider = io-github-autotest-libvirt | ||
type = libvirt_pci_passthrough_eeh | ||
iteration_val = 2 | ||
no s390-virtio | ||
variants: | ||
- Normal_passthrough: | ||
libvirt_pci_SRIOV = no | ||
# Removing SRIOV as of now, as curently we don't test this | ||
#- SRIOV: | ||
# libvirt_pci_SRIOV = yes | ||
# vf_filter = "Virtual Function" | ||
# Enter the no.of Virtual Function's to be cr | ||
# for each Physical Function. | ||
# number_vfs = 4 | ||
variants: | ||
- PCI_NIC: | ||
libvirt_pci_device_type = "NIC" | ||
# Please enter the PCI device label for | ||
# a network device. We will attach this | ||
# device to guest. Then this network device | ||
# will be unavailable on host. | ||
# E.g: 0000:05:00.0 | ||
libvirt_pci_net_dev_label = "ENTER.YOUR.PCI.LABEL" | ||
libvirt_pci_net_dev_name = "ENTER.YOUR.DEVICE.NAME" | ||
# Please enter the ip what is used by the device | ||
# you are going to attach to guest. | ||
libvirt_pci_net_ip = "ENTER.YOUR.IP" | ||
# Please enter a available ip from the net device. | ||
# We need to ping it after attaching pci device | ||
# to guest to verify this device works well in guest. | ||
libvirt_pci_server_ip = "ENTER.YOUR.SERVER.IP" | ||
# Enter netmask in CIDR notation | ||
libvirt_pci_net_mask = "ENTER.YOUR.NETMASK" | ||
# enter timeout value | ||
timeout = "ENTER.YOUR.TIMEOUT" | ||
model = "ENTER.YOUR.DEVICE.MODEL" | ||
index = "1" | ||
- PCI_STORAGE: | ||
libvirt_pci_device_type = "STORAGE" | ||
# Please enter the PCI device label for | ||
# a storage device. We will attach this | ||
# device to guest. | ||
# E.g: pci_0000_0d_00_0 | ||
libvirt_pci_storage_dev_label = "ENTER.YOUR.PCI.LABEL" | ||
variants: | ||
- passthrough_eeh_guest: | ||
eeh_guest = "yes" | ||
- passthrough_suspend_host: | ||
eeh_host = "yes" |
Oops, something went wrong.