Displaying 2 results from an estimated 2 matches for "cputune_vcpupin".
2013 Jul 19
2
How to insert vcpupin in guest xml file
...I am trying to add vcpupin in the guest xml file. I am working with openstack and the code I have is python bound. I investigated through the code and found that the elemets in xml file are set in get_guest_config function. Now the thing is I am not able to set vcpupin element. I mean I tried guest.cputune_vcpupin but it's not working.
Help me out, please!
Thanks.
~Peeyush Gupta
2013 Sep 09
0
Re: How to insert vcpupin in guest xml file
...in in the guest xml file. I am working with
> openstack and the code I have is python bound. I investigated through
> the code and found that the elemets in xml file are set in
> get_guest_config function. Now the thing is I am not able to set
> vcpupin element. I mean I tried guest.cputune_vcpupin but it's not
> working.
Hi Peeyush
In libvirt python -binding . You can find the following functions for
pining vcpus.
class virDomain:
.....
def pinVcpu(self, vcpu, cpumap):
"""Dynamically change the real CPUs which can be allocated to a
virtual CPU. Thi...