[email protected] writes: > From: Marc-André Lureau <[email protected]> > > Learn to configure the agent with a system configuration. > > This may simplify command-line handling, especially when the blacklist > is long. > > Among the other benefits, this may standardize the configuration of a > init service (instead of distro-specific init keys/files) > > Signed-off-by: Marc-André Lureau <[email protected]>
This uses GLib's Key-value file parser. Note that we have our own .ini parser qemu_config_parse(). It predates our use of GLib. Having two different parsers risks inconsistency. Since qga is already using GLib's, using it some more there is better than adding a use of our own parser, so no objection to your patch on that ground. Replacing qemu_config_parse()'s parsing guts by GLib probably won't save code, but it could be nice for consistency. Well outside this patch's scope, of course.
