]> git.ipfire.org Git - thirdparty/libvirt.git/commit
xml: Add element <title> to allow short description of domains
authorPeter Krempa <pkrempa@redhat.com>
Wed, 1 Feb 2012 13:03:49 +0000 (14:03 +0100)
committerEric Blake <eblake@redhat.com>
Wed, 1 Feb 2012 21:41:13 +0000 (14:41 -0700)
commitb79ba8382e2205c416d7c4836ac9ee08c72e2c56
tree1250314b73c6e042a032a16c99066e9962952b85
parent26e9fdc0bc43e93829902b3336a331ae74ca07ce
xml: Add element <title> to allow short description of domains

This patch adds a new element <title> to the domain XML. This attribute
can hold a short title defined by the user to ease the identification of
domains. The title may not contain newlines and should be reasonably short.

 *docs/formatdomain.html.in
 *docs/schemas/domaincommon.rng
        - add schema grammar for the new element and documentation
  *src/conf/domain_conf.c
  *src/conf/domain_conf.h
        - add field to hold the new attribute
        - add code to parse and create XML with the new attribute
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
tests/domainschemadata/qemu-simple-description-title.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-minimal.xml