]> xenbits.xensource.com Git - libvirt.git/commitdiff
schema: Validate GIC capabilities
authorAndrea Bolognani <abologna@redhat.com>
Wed, 9 Mar 2016 17:42:14 +0000 (18:42 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 20 Apr 2016 10:51:39 +0000 (12:51 +0200)
We need to expose GIC capabilities in the domain capabilities
XML: update the schema to validate documents that contain the
new information.

docs/schemas/domaincaps.rng

index 35d3745dac8769fee9d87868bfe7f15a15a6564e..0d2777b56ec1a68cc3109df812ff3d7b0d435a57 100644 (file)
@@ -31,6 +31,9 @@
         <optional>
           <ref name='devices'/>
         </optional>
+        <optional>
+          <ref name='features'/>
+        </optional>
       </interleave>
     </element>
   </define>
     </element>
   </define>
 
+  <define name='features'>
+    <element name='features'>
+      <interleave>
+        <ref name='gic'/>
+      </interleave>
+    </element>
+  </define>
+
+  <define name='gic'>
+    <element name='gic'>
+      <ref name='supported'/>
+      <ref name='enum'/>
+    </element>
+  </define>
+
   <define name='value'>
     <zeroOrMore>
       <element name='value'>