]> xenbits.xensource.com Git - libvirt.git/commitdiff
doc: Add schema definition for imagelabel
authorOsier Yang <jyang@redhat.com>
Mon, 21 Mar 2011 07:58:51 +0000 (15:58 +0800)
committerOsier Yang <jyang@redhat.com>
Mon, 21 Mar 2011 08:30:06 +0000 (16:30 +0800)
<imagelable> is not generated by running domain, actually we parse
it in src/conf/domain_conf.c, this patch is to fix it, otherwise any
validation (virt-xml-validate) on the domain xml dumped from shutoff
domain containing <imagelable> will fail.

* docs/schemas/domain.rng

docs/schemas/domain.rng

index 21c4380492f389c58a13f82a5067a8b4c7802307..30f673f3add9d095d6ff0f047ae240764d7c18c4 100644 (file)
@@ -64,6 +64,9 @@
       <element name="label">
         <text/>
       </element>
+      <element name="imagelabel">
+        <text/>
+      </element>
     </element>
   </define>
   <define name="hvs">