[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [RFC 3/6] schema: Validate GIC capabilities



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 | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/docs/schemas/domaincaps.rng b/docs/schemas/domaincaps.rng
index 35d3745..0d2777b 100644
--- a/docs/schemas/domaincaps.rng
+++ b/docs/schemas/domaincaps.rng
@@ -31,6 +31,9 @@
         <optional>
           <ref name='devices'/>
         </optional>
+        <optional>
+          <ref name='features'/>
+        </optional>
       </interleave>
     </element>
   </define>
@@ -88,6 +91,21 @@
     </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'>
-- 
2.5.5


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]