Re: virDomainSetMetadata --> qemuDomainSetMetadata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]