[PATCH v2 08/12] Add RNG schema for host cache information in capabilities

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

 



Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>
---
 docs/schemas/capability.rng | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/docs/schemas/capability.rng b/docs/schemas/capability.rng
index 88e08d299ac9..208095302a63 100644
--- a/docs/schemas/capability.rng
+++ b/docs/schemas/capability.rng
@@ -45,6 +45,9 @@
       <optional>
         <ref name='topology'/>
       </optional>
+      <optional>
+        <ref name='cache'/>
+      </optional>
       <zeroOrMore>
         <ref name='secmodel'/>
       </zeroOrMore>
@@ -248,6 +251,37 @@
     </element>
   </define>

+  <define name='cache'>
+    <element name='cache'>
+      <oneOrMore>
+        <element name='bank'>
+          <attribute name='id'>
+            <ref name='unsignedInt'/>
+          </attribute>
+          <attribute name='level'>
+            <ref name='unsignedInt'/>
+          </attribute>
+          <attribute name='type'>
+            <choice>
+              <value>unified</value>
+              <value>instruction</value>
+              <value>data</value>
+            </choice>
+          </attribute>
+          <attribute name='size'>
+            <ref name='unsignedInt'/>
+          </attribute>
+          <attribute name='unit'>
+            <ref name='unit'/>
+          </attribute>
+          <attribute name='cpus'>
+            <ref name='cpuset'/>
+          </attribute>
+        </element>
+      </oneOrMore>
+    </element>
+  </define>
+
   <define name='guestcaps'>
     <element name='guest'>
       <ref name='ostype'/>
-- 
2.12.2

--
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]
  Powered by Linux