[libvirt] [PATCH v3 01/21] Improve virConf parse to handle LXC config format

Daniel P. Berrange berrange at redhat.com
Wed Feb 12 17:23:05 UTC 2014


On Wed, Feb 05, 2014 at 03:09:59PM +0100, Cédric Bosdonnat wrote:
> virConf now honours a VIR_CONF_FLAG_LXC_FORMAT flag to handle LXC
> configuration files. The differences are that property names can
> contain '.' character and values are all strings without any bounding
> quotes.
> 
> Provide a new virConfWalk function calling a handler on all non-comment
> values. This function will be used by the LXC conversion code to loop
> over LXC configuration lines.
> ---
>  src/libvirt_private.syms |  1 +
>  src/util/virconf.c       | 46 ++++++++++++++++++++++++++++++++++++++++++++--
>  src/util/virconf.h       | 10 ++++++++++
>  3 files changed, 55 insertions(+), 2 deletions(-)

ACK

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




More information about the libvir-list mailing list