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 -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@xxxxxxxxxxxx | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/
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'> <choice> <value>ide</value> - <value>virtio</value> <value>fdc</value> + <value>scsi</value> + <value>virtio</value> <value>xen</value> <value>usb</value> + <value>uml</value> </choice> </attribute> </optional> @@ -1005,16 +1007,17 @@ </optional> <zeroOrMore> <choice> - <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'/> </choice> </zeroOrMore> </interleave>
-- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list