[Openstack] How to set vcpupin in guest XML?

Peeyush Gupta gpeeyush at ymail.com
Wed Jul 24 09:23:39 UTC 2013


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 <berrange at redhat.com>
To: Peeyush Gupta <gpeeyush at ymail.com> 
Cc: "openstack at lists.launchpad.net" <openstack at lists.launchpad.net> 
Sent: Wednesday, 24 July 2013 2:43 PM
Subject: Re: [Openstack] How to set vcpupin in guest XML?
 

On Wed, Jul 24, 2013 at 04:57:07PM +0800, Peeyush Gupta wrote:
> Hi Daniel,
> 
> Thanks for your suggestion. I made some changes in config and it
> works fine. One more thing I wanted to ask is I want to add an
> attribute to xml. But I am not able to figure out how exactly
> libvirt is defining xml. I understand that config can only add
> the attributes that are defined in the xml. But how do I add a
> new attribute?

Presumably when you say "libvirt" here, you mean the libvirt library
itself, rather than the Nova libvirt driver.

If you want libvirt to understand new attributes, then you need to
write a patch for libvirt that updates its XML parsers / generator,
updates its RNG schema, the schema docs, and finally the code to
convert from XML to QEMU command line arguments (or equivalent
for non-QEMU based virt drivers in libvirt). If you need help in
adding features to core libvirt it is best to ask on the main libvirt
mailing lists

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-            http://virt-manager.org :|
|: http://autobuild.org       -o-        http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-      http://live.gnome.org/gtk-vnc :|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130724/9cb6b24c/attachment.html>


More information about the Openstack mailing list