search for: get_guest_config

Displaying 2 results from an estimated 2 matches for "get_guest_config".

2013 Jul 19
2
How to insert vcpupin in guest xml file
Hi all, 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
On 07/19/2013 04:51 PM, Peeyush Gupta wrote: > Hi all, > > 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. Hi Peeyush In libvirt python -binding . You can find the following functions for pining vcpus. class virDomain: ..... def pinVcpu(self, vcpu, cpumap...