mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user