]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Add support for modifying domain description and titles
authorPeter Krempa <pkrempa@redhat.com>
Wed, 1 Feb 2012 13:03:51 +0000 (14:03 +0100)
committerEric Blake <eblake@redhat.com>
Wed, 1 Feb 2012 22:12:53 +0000 (15:12 -0700)
commitfad5cd210899dfde4afe36712754dc921c3f3051
tree52079833ee1a82c947f385d6ebd50811d0b72fd9
parentc471e55e1030ad133da734a91427c82d10dd6a86
virsh: Add support for modifying domain description and titles

This patch adds a new command "desc" to show and modify titles and
description for the domains using the new API.

This patch also adds a new flag for the "list" command to show titles in
the domain list, to allow easy identification of VMs by storing a short
description.

Example:
virsh # list --title
 Id Name                 State      Title
 -----------------------------------------------
   0 Domain-0             running    Mailserver 1
   2 fedora               paused
tools/virsh.c
tools/virsh.pod