search for: pinvcpuflags

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

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
...n be allocated to a virtual CPU. This function requires privileged access to the hypervisor. """ ret = libvirtmod.virDomainPinVcpu(self._o, vcpu, cpumap) if ret == -1: raise libvirtError ('virDomainPinVcpu() failed', dom=self) return ret def pinVcpuFlags(self, vcpu, cpumap, flags): """Dynamically change the real CPUs which can be allocated to a virtual CPU. This function requires privileged access to the hypervisor. """ ret = libvirtmod.virDomainPinVcpuFlags(self._o, vcpu, cpumap, flags) if...