Skip to content

Conversation

@TasmiyaNalatwad
Copy link

Location code is used to trigger eeh injections on any pci device in kvm environment

Patch is used to get the location code of the pci devices using there pci id's

Misbah Anjum N and others added 9 commits February 14, 2025 14:55
Currently, kernel_args is not present in the output of "virt-install --boot help" as "--boot cmdline=%s" is the recommended way of passing kernel command line parameters. As a result, the import/install test is failiing since kernel and initrd parameter is being passed without kernel_args

But --boot option supports both kernel_args and cmdline parameter for passing kernel arguments to the guest, i.e,
--boot kernel=<vmlinuz>,initrd=<initrd>,cmdline=<kernel-cmdline> (recommended way)
(or)
--boot kernel=<vmlinuz>,initrd=<initrd>,kernel_args= <kernel-cmdline>

This patch adds support of reading both cmdline and kernel_args parameter and passes whichever is available from config to the virt-install --boot option

Signed-off-by: Misbah Anjum N <misanjum@linux.vnet.ibm.com>
This patch will allow us to send vms as paramter to VMStressEvents
Through this change, we can specify in which vms we want to run the stress_events
If vms parameter is not specified, then default vms from env will be considered
Thus, there will not be any error in the dependant files

Signed-off-by: Misbah Anjum N <misanjum@linux.vnet.ibm.com>
This patch can be used to run htx mdts stress_type using htxcmdline tool
Additionally, this patch fixes DeprecationWarning of invalid escape sequence 'x' W605

This patch introduces the following changes:

Allow running of different stress types in different vms based on stress_type_%s parameter if provided in the cfg file, where %s is the name of the vm. This will allow us to introduce additional types of stress in the future. If the stress_type_%s paramter is not provided, then the default stress_type will be used.

Define a new function load_htxstress_tool() to run htxcmdline tool in the guest. This function will be called whenever stress_type_vmname = htxcmdline_in_vms. The user can provide the link to the .rpm/.deb package and the function will handle the installation, followed by the running of the htxcmdline tool by using the htxcmdline_args parameter, all provided by user in the cfg file.

Signed-off-by: Misbah Anjum N <misanjum@linux.vnet.ibm.com>
Signed-off-by: Tasmiya Nalatwad <tasmiya@linux.vnet.ibm.com>
Change the KVMCI avocado-vt repo tp-libvirt link from autotest/tp-libvirt
to lop-devops/tp-libvirt to support KVMCI workflows

Signed-off-by: Misbah Anjum N <misanjum@linux.vnet.ibm.com>
Location code is used to trigger eeh injections on any pci device in kvm environment

Patch is used to get the location code of the pci devices using there pci id's

Signed-off-by: Tasmiya Nalatwad <tasmiya@linux.vnet.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants