[libvirt] PATCH: update the XML domain RelaxNG schemas

Daniel Veillard veillard at redhat.com
Thu Apr 2 09:19:58 UTC 2009

  pritesh raised the issue on IRC, so I checked the schemas against the
current parsing routines and found a few missing items, I also sorted
the device lice to match the enum sequence in the C file.
  One thing missing and still TODO is the interface definition block,
the C parser accepts the "server", "client" and "mcast" types but the
RNG doesn't list them in the choice for "interface"


Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/
-------------- next part --------------
Index: docs/schemas/domain.rng
RCS file: /data/cvs/libxen/docs/schemas/domain.rng,v
retrieving revision 1.6
diff -u -r1.6 domain.rng
--- docs/schemas/domain.rng	19 Mar 2009 14:26:51 -0000	1.6
+++ docs/schemas/domain.rng	2 Apr 2009 09:14:03 -0000
@@ -430,10 +430,12 @@
          <attribute name='bus'>
-             <value>virtio</value>
+             <value>scsi</value>
+             <value>virtio</value>
+             <value>uml</value>
@@ -1005,16 +1007,17 @@
-	    <ref name='graphic'/>
 	    <ref name='disk'/>
 	    <ref name='filesystem'/>
 	    <ref name='interface'/>
-	    <ref name='console'/>
+            <ref name='input'/>
             <ref name='sound'/>
+            <ref name='hostdev'/>
+	    <ref name='graphic'/>
+	    <ref name='console'/>
             <ref name='parallel'/>
             <ref name='serial'/>
-            <ref name='input'/>
-            <ref name='hostdev'/>

More information about the libvir-list mailing list