[virt-tools-list] [libosinfo 04/10] schema: Allow driver info under os nodes
Zeeshan Ali (Khattak)
zeeshanak at gnome.org
Wed Dec 5 14:03:00 UTC 2012
From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>
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
More information about the virt-tools-list
mailing list