On Tue, Oct 03, 2017 at 11:50:42PM -0300, Eduardo Habkost wrote: > 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. > > Reviewed-by: Markus Armbruster <[email protected]> > Reviewed-by: Eric Blake <[email protected]> > Signed-off-by: Eduardo Habkost <[email protected]>
Paolo, if you are OK with this I'm queueing it (only 1/2 by now) on machine-next. -- Eduardo
