On 12/11/2012 03:07 AM, Daniel P. Berrange wrote: > On Mon, Dec 10, 2012 at 11:33:34PM +0000, SHAH, Ronak (Ronak R) wrote: >> Hi, >> >> I have requirement to add <metadata> tag into the libvirt XML from the application. >> While calling virDomainSetMetadata which internally call qemuDomainSetMetadata (correct me here if I am wrong), >> I am getting following error: >> >> qemuDomainSetMetdata:12623 : argument unsupported: QEMU driver does not support<metadata> element >> >> Support for setting and getting <metadata> with special namespace is deliberately added in 0.9.10 of libvirt and I am using 0.9.13. >> I am surprise that the internal qemu driver is still cribbing out it. > > The QEMU driver does support the <metadata> element, but only if you > specify it when defining the XML as a whole (eg virDomainDefine). For > unknown reasons, the qemuDomainSetMetdata was not implemented to allow > for live updating of the <metadata>. That said, it's a nice beginner's project to implement that functionality, if you'd like to try your hand at writing the patch. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list