From: Satheesh Rajendran <[email protected]>
This patch tests the virsh vcpupin command, which inturn address
the below changes.
Satheesh Rajendran (3):
client.shared.base_utils.py: function to get the cpu affinity of vcpu
modified: client/shared/base_utils.py
client.virt.libvirt_vm.py: Added the functions to support virsh_vcpupin
testcase
vcpupin(): to pin the vcpu to cpu
get_vcpus_pid(): to get the vcpu pid
virsh_qemu_monitor_command(): implements virsh qemu-monitor-command
virsh_vcpupin(): implements virsh vcpupin command
virsh_vcpuinfo(): implements virsh vcpuinfo command
virsh_vcpucount_live(): implements vcpucount command
modified: client/virt/libvirt_vm.py
libvirt.tests: to test virsh vcpupin test case
new file: client/tests/libvirt/tests/virsh_vcpupin.py
modified: client/virt/subtests.cfg.sample
client/shared/base_utils.py | 12 +++
client/tests/libvirt/tests/virsh_vcpupin.py | 115 +++++++++++++++++++++++++++
client/virt/libvirt_vm.py | 63 +++++++++++++++
client/virt/subtests.cfg.sample | 3 +
4 files changed, 193 insertions(+), 0 deletions(-)
create mode 100644 client/tests/libvirt/tests/virsh_vcpupin.py
--
1.7.5.4
_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel