[PATCH 3/7] schema: Validate GIC capabilities

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]