523639 Allows a <description> tag for domains

* docs/schemas/domain.rng: allow one <description> tag in the top level
  of the <domain> to store user information as text
* src/conf/domain_conf.c src/conf/domain_conf.h: extend the structure
  to store this text, grab it at parse time and save it back when
  present after <uuid>
This commit is contained in:
Daniel Veillard
2009-09-30 16:07:24 +02:00
parent 9d162096ca
commit 8fc469b3d5
3 changed files with 22 additions and 0 deletions

View File

@@ -6,6 +6,16 @@
</start>
<include href='storageencryption.rng'/>
<!--
description element, maybe placed anywhere under the root
-->
<define name="description">
<element name="description">
<text/>
</element>
</define>
<!--
We handle only document defining a domain
-->
@@ -14,6 +24,9 @@
<ref name="hvs"/>
<ref name="ids"/>
<interleave>
<optional>
<ref name="description"/>
</optional>
<ref name="os"/>
<ref name="clock"/>
<ref name="resources"/>