Re: [Openstack] How to set vcpupin in guest XML?

2013-07-24 Thread Peeyush Gupta
Yeah, I actually meant libvirt library only. Looks like I have got a lot of work to do! Thanks again, for your time.   ~Peeyush Gupta From: Daniel P. Berrange To: Peeyush Gupta Cc: "openstack@lists.launchpad.net" Sent: Wednesday, 24 July 20

Re: [Openstack] How to set vcpupin in guest XML?

2013-07-24 Thread Peeyush Gupta
defined in the xml. But how do I add a new attribute? Thanks.   ~Peeyush Gupta From: Daniel P. Berrange To: Peeyush Gupta Cc: "openstack@lists.launchpad.net" Sent: Tuesday, 23 July 2013 4:34 PM Subject: Re: [Openstack] How to set vcpupin in guest XML?

[Openstack] How to set vcpupin in guest XML?

2013-07-23 Thread Peeyush Gupta
Hi all, I am working with openstack and I want to pin vcpus to pcpus in guest xml. Now, the pinning operation can be done using virsh vcpupin guestname vcpu pcpu But I want to do it using python API. I investigated the openstack code and found out that get_guest_config function in libvirt/dr