On 02/01/2012 06:03 AM, Peter Krempa wrote:
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 | 8 +++++-
docs/schemas/domaincommon.rng | 15 ++++++++++-
src/conf/domain_conf.c | 11 ++++++++
src/conf/domain_conf.h | 1 +
.../qemu-simple-description-title.xml | 27 ++++++++++++++++++++
tests/qemuxml2argvdata/qemuxml2argv-minimal.xml | 5 +++
6 files changed, 65 insertions(+), 2 deletions(-)
create mode 100644 tests/domainschemadata/qemu-simple-description-title.xml
ACK.
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org