Claudio Fontana
9ea057dc64
accel-cpu: make cpu_realizefn return a bool
...
overall, all devices' realize functions take an Error **errp, but return void.
hw/core/qdev.c code, which realizes devices, therefore does:
local_err = NULL;
dc->realize(dev, &local_err);
if (local_err != NULL) {
goto fail;
}
However, we can improve at least accel_cpu to return a meaningful bool value.
Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210322132800.7470-9-cfontana@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-05-10 15:41:50 -04:00
..
2021-03-22 18:58:19 -04:00
2021-01-12 21:19:02 +00:00
2021-05-01 10:03:51 +02:00
2020-07-10 15:18:08 +02:00
2021-05-02 17:24:50 +02:00
2021-05-02 17:24:50 +02:00
2021-05-10 15:41:50 -04:00
2020-09-18 14:12:32 -04:00
2021-03-19 15:18:43 +01:00
2020-12-10 17:16:44 +01:00
2021-03-08 17:20:04 +00:00
2019-07-05 17:07:36 -03:00
2020-10-27 11:10:32 +00:00
2020-09-18 14:12:32 -04:00
2021-02-16 14:12:54 +00:00
2021-04-30 11:16:51 +01:00
2020-11-15 17:04:40 +01:00
2020-09-22 21:11:10 +01:00
2021-03-15 21:02:20 +01:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2021-05-04 11:41:25 +10:00
2020-09-30 19:11:36 +02:00
2019-06-12 13:20:20 +02:00
2021-01-19 09:11:52 +01:00
2021-03-16 14:30:30 -04:00
2021-02-21 18:41:04 +01:00
2021-05-10 17:21:54 +01:00
2021-03-05 15:17:34 +00:00
2020-09-18 14:12:32 -04:00
2020-12-08 13:48:57 -05:00
2021-05-04 11:41:25 +10:00
2020-09-18 14:12:32 -04:00
2021-05-05 20:29:14 +01:00
2021-05-04 11:41:25 +10:00
2020-09-09 09:27:09 -04:00
2021-02-10 09:23:28 +00:00
2021-03-22 21:54:40 -04:00
2020-10-18 16:21:42 +01:00
2020-09-09 09:27:09 -04:00
2021-03-26 09:33:50 +01:00
2021-04-12 22:31:24 +01:00
2021-02-21 12:12:18 +00:00
2021-03-06 16:18:42 +01:00
2020-09-09 09:27:09 -04:00
2021-03-19 15:18:43 +01:00
2021-05-01 10:03:52 +02:00
2021-05-02 17:24:50 +02:00
2021-03-14 14:41:55 +01:00
2017-12-18 17:07:02 +03:00
2021-03-15 17:01:12 +01:00
2020-11-23 10:05:58 -07:00
2021-03-15 09:48:53 +00:00
2021-01-29 15:54:44 +00:00
2020-12-15 12:53:13 -05:00
2019-08-16 13:31:52 +02:00
2021-04-30 11:16:51 +01:00
2021-03-08 17:20:01 +00:00
2021-03-09 21:27:51 +01:00
2020-09-09 09:27:09 -04:00
2020-09-09 09:27:09 -04:00
2019-08-16 13:31:52 +02:00
2020-03-17 12:22:36 -04:00
2020-08-03 17:55:03 +01:00
2020-11-15 17:04:40 +01:00
2021-03-23 11:47:31 +00:00
2020-09-09 09:27:09 -04:00
2020-09-09 09:27:09 -04:00
2020-09-18 14:12:32 -04:00
2020-11-15 17:04:40 +01:00
2021-01-29 15:54:42 +00:00
2021-03-08 17:20:01 +00:00
2020-12-15 12:51:52 -05:00
2019-06-12 13:20:21 +02:00
2020-12-18 15:20:17 -05:00
2020-12-18 15:20:18 -05:00
2021-03-19 15:18:43 +01:00
2020-05-27 11:23:07 -07:00
2020-09-09 09:27:09 -04:00
2020-12-10 12:15:04 -05:00
2020-09-18 14:12:32 -04:00
2021-03-15 17:00:58 +01:00
2020-09-09 09:27:09 -04:00