Skip to content

Commit 39c5dc3

Browse files
TasmiyaNalatwadspoorthys1303
authored andcommitted
Updated the pci_passthrough.cfg test bucket with the latest configs
1. Added missing configs to run the existing tests 2. Added new configs to run the newly added tests for pci passthrough Signed-off-by: Tasmiya Nalatwad <tasmiya@linux.vnet.ibm.com>
1 parent 9cf12da commit 39c5dc3

File tree

1 file changed

+38
-2
lines changed

1 file changed

+38
-2
lines changed

config/tests/guest/libvirt/pci_passthrough.cfg

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,51 @@ pf_filter = "ENTER.YOUR.PCI.LABEL"
4444
libvirt_pci_net_ip = "ENTER.YOUR.IP"
4545
libvirt_pci_server_ip = "ENTER.YOUR.SERVER.IP"
4646
libvirt_pci_net_mask = "ENTER.YOUR.NETMASK"
47+
# Eg: 0000:05:00.0
48+
libvirt_pci_net_dev_name = "ENTER.YOUR.PCI.LABEL"
49+
libvirt_pci_storage_dev_label = "ENTER.YOUR.PCI.LABEL"
50+
# enter timeout value
51+
timeout = "ENTER.YOUR.TIMEOUT"
52+
# model is dependent on architecture
53+
# for power architecture it is pci-root
54+
# index should be other than default VPHB i.e 0
55+
model = "ENTER.YOUR.DEVICE.MODEL"
56+
# enter value for how many times hotplug/unplug will happen
57+
# except stress test remaining all tests it will be 1
58+
stress_val = "1"
59+
# Please enter the PCI device label for
60+
# a network device. We will attach this
61+
# device to guest. Then this network device
62+
# will be unavailable on host.
63+
# E.g: 0000:05:00.0
64+
libvirt_pci_net_dev_label = "ENTER.YOUR.PCI.LABEL"
65+
# enter the ioa system bus info
66+
# this value wil be based on the system bus info
67+
# if your system is 32-bit then use ioa-bus-error
68+
# if your system is 64-bit then use ioa-bus-error-64
69+
ioa_system_info = "ioa-bus-error"
70+
# enter the functioninjection values your system supports 4 or 6
71+
func = "6"
72+
# enter the number of eeh hits you want to trigger
73+
# after this the device will be permanently disabled
74+
max_freeze = "5"
4775

4876
variants:
4977
- guest_import:
5078
only unattended_install.import.import.default_install.aio_native
5179

5280
- device_passthrough:
5381
only libvirt_pci_passthrough
54-
only NIC
55-
only SRIOV
82+
# removing below tests now as they are already covered in the above test.
83+
# No need to explictly add them again.
84+
# only NIC
85+
# only SRIOV
86+
87+
- hotplug_hotunplug_passthrough:
88+
only libvirt_pci_passthrough_hotplug
89+
90+
- pci_passthrough_eeh:
91+
only libvirt_pci_passthrough_eeh
5692

5793
- guest_remove:
5894
only remove_guest.without_disk

0 commit comments

Comments
 (0)