[libvirt] [PATCHv3 1/4] xml: Add element <title> to allow short description of domains

Eric Blake eblake at redhat.com
Wed Feb 1 16:33:36 UTC 2012


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 at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120201/b8dd640c/attachment-0001.sig>


More information about the libvir-list mailing list