[virt-tools-list] comment field in virthost.xml?

Cole Robinson crobinso at redhat.com
Wed Feb 10 15:05:18 UTC 2010

On 02/10/2010 03:08 AM, Harald Dunkel wrote:
> Hi folks,
> I have to support different classes of virtual hosts,
> e.g. to distinguish between host templates, temporary
> hosts cloned from a template, servers, etc. Most easy
> would be to add the appropriate information to the
> virtual host's xml file.
> A simple comment field would be sufficient for the start.
> Can this be done?

Libvirt actually supports a <description> field for VMs, it just isn't
exposed via virt-manager (which I will do soon). Would that be sufficient?

> Would it be OK to abuse the "secrets" for this purpose?
> Actually the class would not be secret at all.

Probably not, secrets is for things like disk encryption keys.

- Cole

More information about the virt-tools-list mailing list