Re: [lxc-devel] [PATCH 1/6] global config: Unify parsing, add additional checks

2013-09-09 Thread Serge Hallyn
Quoting Christian Seiler (christ...@iwakd.de): > Instead of duplicating the code for parsing the global config file for > each option, write one main function, lxc_global_config_value, that > does the parsing for an arbitrary option name and just call that > function from the existing ones. > > Si

[lxc-devel] [PATCH 1/6] global config: Unify parsing, add additional checks

2013-09-08 Thread Christian Seiler
Instead of duplicating the code for parsing the global config file for each option, write one main function, lxc_global_config_value, that does the parsing for an arbitrary option name and just call that function from the existing ones. Signed-off-by: Christian Seiler --- src/lxc/utils.c | 137