On Thu, Feb 17, 2011 at 07:46:59AM -0700, Jim Fehlig wrote: > Markus Groà wrote: > > Hi, > > > > I refactored the XM and SEXPR parsing routines from the xen-unified > > driver into a seperate directory (xenxs; x for xm and s for sexpr). > > This way different xen-drivers besides xen-unified are able to > > use the parsing functionality. For example the upcoming > > XenLight (libxl) driver. > > To use the XM parsing functions one includes "xen_xm.h" and for SEXPR parsing "xen_sxpr.h". > > > > libxl does not support sexpr at all so I don't think there is a need to > move that code, only the xm config parsing functions. The reason was that the 'XM' code reuses several functions from the 'SEXPR' code... Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list