Eduardo Habkost
e5766d6ec7
config: qemu_config_parse() return number of config groups
...
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 <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20171004025043.3788-2-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2017-10-09 23:21:52 -03:00
..
2017-06-16 07:55:00 +08:00
2017-10-06 16:28:58 +02:00
2017-10-09 23:21:52 -03:00
2017-06-26 14:54:46 +02:00
2017-06-26 14:54:46 +02:00
2017-09-05 16:47:52 +02:00
2017-04-24 15:09:33 -04:00
2017-04-24 15:09:33 -04:00
2017-10-06 16:28:58 +02:00
2017-10-06 16:30:47 +02:00
2017-07-11 17:44:56 +02:00
2017-05-16 10:34:50 -04:00
2017-10-06 16:28:58 +02:00
2016-10-07 14:14:06 +02:00
2017-08-31 12:29:07 +02:00
2016-10-07 14:14:06 +02:00
2017-09-26 14:46:23 +02:00
2017-09-04 13:09:13 +02:00
2017-09-04 13:09:13 +02:00
2017-10-06 16:28:58 +02:00
2017-01-27 18:07:58 +01:00
2017-09-19 14:09:31 +02:00
2017-02-21 11:39:39 +00:00
2017-09-06 10:12:02 +02:00
2017-10-06 16:30:48 +02:00
2017-09-25 08:21:26 -05:00
2017-08-23 11:22:15 -05:00
2017-07-14 12:04:42 +02:00
2017-09-04 13:09:13 +02:00
2017-08-08 15:19:16 +02:00
2017-09-04 13:09:13 +02:00
2017-09-05 16:47:51 +02:00
2017-10-06 16:28:58 +02:00
2017-09-26 15:00:32 +02:00
2017-10-06 16:30:47 +02:00
2017-10-06 16:30:48 +02:00
2017-05-11 14:28:07 +02:00
2017-10-06 16:30:48 +02:00
2017-10-06 16:30:48 +02:00
2017-10-06 16:30:47 +02:00
2016-06-07 18:19:24 +03:00
2017-07-17 11:34:11 +08:00
2017-07-17 11:34:11 +08:00
2017-07-17 11:34:11 +08:00
2017-09-04 13:09:13 +02:00
2017-07-17 11:34:11 +08:00
2017-09-04 13:09:13 +02:00
2017-09-04 18:31:13 +02:00
2017-09-04 13:09:13 +02:00
2017-09-26 14:46:23 +02:00
2017-09-05 14:14:33 +01:00
2017-05-09 09:13:51 +02:00
2017-09-05 13:21:58 +01:00
2017-07-10 13:18:07 +02:00
2017-09-26 14:46:23 +02:00
2017-09-06 10:12:02 +02:00
2017-08-07 09:39:35 +01:00
2017-07-17 11:28:15 +08:00
2016-09-23 11:42:52 +08:00
2017-08-31 12:29:07 +02:00
2017-08-08 14:37:00 +02:00
2014-12-12 15:42:22 +00:00
2017-08-08 15:19:16 +02:00
2017-08-31 12:29:07 +02:00
2017-09-26 14:46:23 +02:00
2017-05-09 09:13:51 +02:00
2017-02-21 11:39:39 +00:00
2016-10-07 13:34:07 +02:00