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>. 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 :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list