]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Improve virConf parse to handle LXC config format
authorCédric Bosdonnat <cbosdonnat@suse.com>
Wed, 5 Feb 2014 14:09:59 +0000 (15:09 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 12 Feb 2014 17:52:46 +0000 (17:52 +0000)
commit3daa14834ae9ffab55cae67808508d47d1b53dbb
tree07a5283b1914f3692bd9b8050c5078128af0e93b
parent6831c1d32735c3cf80b118ba861156028e3627f6
Improve virConf parse to handle LXC config format

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
src/util/virconf.c
src/util/virconf.h