[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 0/2] Refactored XM and SEXPR parsing



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 :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]