[libvirt] Can comments be added to libvirt xml files?

14 Aug
2014
14 Aug
'14
10:36 p.m.
Hi. Is it possible to preserve comments in libvirt's XML files without it failing validate-xml checks?

15 Aug
15 Aug
5:53 a.m.
On 08/15/2014 12:36 AM, bancfc@openmailbox.org wrote:
Hi. Is it possible to preserve comments in libvirt's XML files without it failing validate-xml checks?
Any comments you add to the XML will be lost when libvirt parses and formats it again, only the elements libvirt knows will be preserved. For domains, we have a few elements where you can store your own data: http://libvirt.org/formatdomain.html#elementsMetadata For secrets and snapshots, only 'description' is available. Jan
4033
Age (days ago)
4034
Last active (days ago)
1 comments
2 participants
participants (2)
-
bancfc@openmailbox.org
-
Ján Tomko