James M Leddy
2010-Oct-05 18:50 UTC
[libvirt-users] [PATCH] Re: Python XML parsing of domain descriptions?
rp.gs.com> Jon, Would you try with this patch? diff -c libvirt-0.6.3/docs/schemas/domain.rng libvirt-0.6.3.updateschema/docs/schemas/domain.rng *** libvirt-0.6.3/docs/schemas/domain.rng 2010-07-23 12:44:45.000000000 -0400 --- libvirt-0.6.3.updateschema/docs/schemas/domain.rng 2010-10-05 14:17:16.700561725 -0400 *************** *** 150,155 **** --- 150,156 ---- </attribute> <attribute name="machine"> <choice> + <value>rhel5.4.0</value> <value>xenfv</value> <value>pc</value> <value>isapc</value> -- James M. Leddy Technical Account Manager Red Hat Inc.
Daniel Veillard
2010-Oct-06 09:13 UTC
[libvirt-users] [PATCH] Re: Python XML parsing of domain descriptions?
On Tue, Oct 05, 2010 at 02:50:16PM -0400, James M Leddy wrote:> rp.gs.com> > > > Jon, > > Would you try with this patch? > > diff -c libvirt-0.6.3/docs/schemas/domain.rng libvirt-0.6.3.updateschema/docs/schemas/domain.rng > *** libvirt-0.6.3/docs/schemas/domain.rng 2010-07-23 12:44:45.000000000 -0400 > --- libvirt-0.6.3.updateschema/docs/schemas/domain.rng 2010-10-05 14:17:16.700561725 -0400 > *************** > *** 150,155 **** > --- 150,156 ---- > </attribute> > <attribute name="machine"> > <choice> > + <value>rhel5.4.0</value> > <value>xenfv</value> > <value>pc</value> > <value>isapc</value>Actually the upcoming RHEL-5.6 libvirt-client package will have something which is based on current upstream i.e.: <optional> <attribute name="machine"> <data type="string"> <param name="pattern">[a-zA-Z0-9_\.\-]+</param> </data> </attribute> </optional> i.e. allowing any reasonable machine type string for the KVM hypervisor. Daniel -- 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/