[Kimchi-devel] [PATCH V2 0/2] bug fix: from persistent xml get user and group

Aline Manera alinefm at linux.vnet.ibm.com
Tue Apr 22 16:17:27 UTC 2014


On 04/21/2014 06:15 AM, shaohef at linux.vnet.ibm.com wrote:
> From: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
>
> V1 -> V2:
> libvirt also support virDomain.metadata and virDomain.setMetadata two api.
> use virDomain.metadata to get the user and group.
> use virDomain.setMetadata to set the user and group.
>
> ShaoHe Feng (2):
>    bug fix: get user and group metadata by libvirt virDomain.metadata API
>    use libvirt api to set user and group metadata by
>      virDomain.setMetadata API
>
>   src/kimchi/i18n.py      |  1 +
>   src/kimchi/model/vms.py | 52 ++++++++++++++++++++++++++++++++++++++-----------
>   2 files changed, 42 insertions(+), 11 deletions(-)
>

During the first development, I noticed the virDomain.metadata and 
virDomain.setMetadata does not work
well in all libvirt versions.

While using those functions, some libvirt versions will report:

libvir: QEMU Driver error : argument unsupported: QEMU driver does not 
support<metadata> element

But if you manually get and set metadata element, libvirt works fine.




More information about the Kimchi-devel mailing list