Skip to content

Commit 2539e27

Browse files
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 <tasmiya@linux.vnet.ibm.com>
1 parent 4c4c67c commit 2539e27

File tree

2 files changed

+426
-0
lines changed

2 files changed

+426
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
- libvirt_pci_passthrough_eeh:
2+
virt_test_type = libvirt
3+
provider = io-github-autotest-libvirt
4+
type = libvirt_pci_passthrough_eeh
5+
iteration_val = 2
6+
no s390-virtio
7+
variants:
8+
- Normal_passthrough:
9+
libvirt_pci_SRIOV = no
10+
# Removing SRIOV as of now, as curently we don't test this
11+
# - SRIOV:
12+
# libvirt_pci_SRIOV = yes
13+
# vf_filter = "Virtual Function"
14+
# Enter the no.of Virtual Function's to be cr
15+
# for each Physical Function.
16+
# number_vfs = 4
17+
variants:
18+
- PCI_NIC:
19+
libvirt_pci_device_type = "NIC"
20+
# Please enter the PCI device label for
21+
# a network device. We will attach this
22+
# device to guest. Then this network device
23+
# will be unavailable on host.
24+
# E.g: 0000:05:00.0
25+
libvirt_pci_net_dev_label = "ENTER.YOUR.PCI.LABEL"
26+
libvirt_pci_net_dev_name = "ENTER.YOUR.DEVICE.NAME"
27+
# Please enter the ip what is used by the device
28+
# you are going to attach to guest.
29+
libvirt_pci_net_ip = "ENTER.YOUR.IP"
30+
# Please enter a available ip from the net device.
31+
# We need to ping it after attaching pci device
32+
# to guest to verify this device works well in guest.
33+
libvirt_pci_server_ip = "ENTER.YOUR.SERVER.IP"
34+
# Enter netmask in CIDR notation
35+
libvirt_pci_net_mask = "ENTER.YOUR.NETMASK"
36+
# enter timeout value
37+
timeout = "ENTER.YOUR.TIMEOUT"
38+
model = "ENTER.YOUR.DEVICE.MODEL"
39+
index = "1"
40+
- PCI_STORAGE:
41+
libvirt_pci_device_type = "STORAGE"
42+
# Please enter the PCI device label for
43+
# a storage device. We will attach this
44+
# device to guest.
45+
# E.g: pci_0000_0d_00_0
46+
libvirt_pci_storage_dev_label = "ENTER.YOUR.PCI.LABEL"
47+
variants:
48+
- passthrough_eeh_guest:
49+
eeh_guest = "yes"
50+
- passthrough_suspend_host:
51+
eeh_host = "yes"

0 commit comments

Comments
 (0)