<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Yeah, I actually meant libvirt library only. Looks like I have got a lot of work to do! Thanks again, for your time.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div></div><div> </div><div><font class="Apple-style-span" color="#9E8FA9">~Peeyush Gupta</font><br></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font
 size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Daniel P. Berrange <berrange@redhat.com><br> <b><span style="font-weight: bold;">To:</span></b> Peeyush Gupta <gpeeyush@ymail.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "openstack@lists.launchpad.net" <openstack@lists.launchpad.net> <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, 24 July 2013 2:43 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Openstack] How to set vcpupin in guest XML?<br> </font> </div> <div class="y_msg_container"><br>On Wed, Jul 24, 2013 at 04:57:07PM +0800, Peeyush Gupta wrote:<br>> Hi Daniel,<br>> <br>> Thanks for your suggestion. I made some changes in config and it<br>> works fine. One more thing I wanted to ask is I want to add an<br>> attribute to xml. But I am not able to figure out how exactly<br>> libvirt is defining xml. I understand that config can only
 add<br>> the attributes that are defined in the xml. But how do I add a<br>> new attribute?<br><br>Presumably when you say "libvirt" here, you mean the libvirt library<br>itself, rather than the Nova libvirt driver.<br><br>If you want libvirt to understand new attributes, then you need to<br>write a patch for libvirt that updates its XML parsers / generator,<br>updates its RNG schema, the schema docs, and finally the code to<br>convert from XML to QEMU command line arguments (or equivalent<br>for non-QEMU based virt drivers in libvirt). If you need help in<br>adding features to core libvirt it is best to ask on the main libvirt<br>mailing lists<br><br>Regards,<br>Daniel<br>-- <br>|: <a href="http://berrange.com/" target="_blank">http://berrange.com </a>     -o-    <a href="http://www.flickr.com/photos/dberrange/" target="_blank">http://www.flickr.com/photos/dberrange/ </a>:|<br>|: <a href="http://libvirt.org/"
 target="_blank">http://libvirt.org </a>             -o-             <a href="http://virt-manager.org/" target="_blank">http://virt-manager.org </a>:|<br>|: <a href="http://autobuild.org/" target="_blank">http://autobuild.org </a>      -o-         <a href="http://search.cpan.org/~danberr/" target="_blank">http://search.cpan.org/~danberr/ </a>:|<br>|: <a href="http://entangle-photo.org/" target="_blank">http://entangle-photo.org </a>      -o-       <a href="http://live.gnome.org/gtk-vnc" target="_blank">http://live.gnome.org/gtk-vnc </a>:|<br><br><br></div> </div> </div>  </div></body></html>