From 3176f4fca522e5458ef74b71938539e0e9a3e32b Mon Sep 17 00:00:00 2001 From: Tasmiya Nalatwad Date: Thu, 2 Jan 2025 16:50:06 +0530 Subject: [PATCH] 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 --- .../tests/guest/libvirt/pci_passthrough.cfg | 40 ++++++++++++++++++- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/config/tests/guest/libvirt/pci_passthrough.cfg b/config/tests/guest/libvirt/pci_passthrough.cfg index 3ee2605b..365cab47 100644 --- a/config/tests/guest/libvirt/pci_passthrough.cfg +++ b/config/tests/guest/libvirt/pci_passthrough.cfg @@ -44,6 +44,34 @@ pf_filter = "ENTER.YOUR.PCI.LABEL" libvirt_pci_net_ip = "ENTER.YOUR.IP" libvirt_pci_server_ip = "ENTER.YOUR.SERVER.IP" libvirt_pci_net_mask = "ENTER.YOUR.NETMASK" +# Eg: 0000:05:00.0 +libvirt_pci_net_dev_name = "ENTER.YOUR.PCI.LABEL" +libvirt_pci_storage_dev_label = "ENTER.YOUR.PCI.LABEL" +# enter timeout value +timeout = "ENTER.YOUR.TIMEOUT" +# model is dependent on architecture +# for power architecture it is pci-root +# index should be other than default VPHB i.e 0 +model = "ENTER.YOUR.DEVICE.MODEL" +# enter value for how many times hotplug/unplug will happen +# except stress test remaining all tests it will be 1 +stress_val = "1" +# 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" +# enter the ioa system bus info +# this value wil be based on the system bus info +# if your system is 32-bit then use ioa-bus-error +# if your system is 64-bit then use ioa-bus-error-64 +ioa_system_info = "ioa-bus-error" +# enter the functioninjection values your system supports 4 or 6 +func = "6" +# enter the number of eeh hits you want to trigger +# after this the device will be permanently disabled +max_freeze = "5" variants: - guest_import: @@ -51,8 +79,16 @@ variants: - device_passthrough: only libvirt_pci_passthrough - only NIC - only SRIOV + # removing below tests now as they are already covered in the above test. + # No need to explictly add them again. + # only NIC + # only SRIOV + + - hotplug_hotunplug_passthrough: + only libvirt_pci_passthrough_hotplug + + - pci_passthrough_eeh:+ + only libvirt_pci_passthrough_eeh - guest_remove: only remove_guest.without_disk