[libosinfo 04/10] schema: Allow driver info under os nodes

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

 



From: "Zeeshan Ali (Khattak)" <zeeshanak@xxxxxxxxx>

This defines the XML we'll use to add device driver information to our XML
database.
---
 data/schemas/libosinfo.rng | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/data/schemas/libosinfo.rng b/data/schemas/libosinfo.rng
index 87635dd..3eff268 100644
--- a/data/schemas/libosinfo.rng
+++ b/data/schemas/libosinfo.rng
@@ -400,6 +400,34 @@
     </element>
   </define>
 
+  <define name='driver'>
+    <element name='driver'>
+      <attribute name='arch'>
+        <text/>
+      </attribute>
+      <attribute name='location'>
+        <text/>
+      </attribute>
+      <optional>
+        <attribute name="pre-installable">
+          <ref name='bool'/>
+        </attribute>
+      </optional>
+      <zeroOrMore>
+        <element name='file'>
+          <text/>
+        </element>
+      </zeroOrMore>
+      <oneOrMore>
+        <element name='device'>
+          <attribute name='id'>
+            <ref name='url'/>
+          </attribute>
+        </element>
+      </oneOrMore>
+    </element>
+  </define>
+
   <define name='os'>
     <element name='os'>
       <interleave>
@@ -422,6 +450,9 @@
         <zeroOrMore>
           <ref name='installer'/>
         </zeroOrMore>
+        <zeroOrMore>
+          <ref name='driver'/>
+        </zeroOrMore>
       </interleave>
     </element>
   </define>
-- 
1.8.0.1

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list


[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux