Eduardo Habkost <[email protected]> writes: > Change qemu_config_parse() to return the number of config groups > in success and -EINVAL on error. This will allow callers of > qemu_config_parse() to check if something was really loaded from > the config file. > > All existing callers of qemu_config_parse() and > qemu_read_config_file() only check if the return value was > negative, so the change shouldn't affect them. > > Signed-off-by: Eduardo Habkost <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
