]> git.proxmox.com Git - mirror_qemu.git/commit
exec/cpu: Have cpu_exec_realize() return a boolean
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 15 Sep 2023 14:26:52 +0000 (16:26 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 7 Nov 2023 12:08:48 +0000 (13:08 +0100)
commit79a99091c1af7783a13c21ab5e4049265fcbb1d1
tree681ae1be56aee224f1e2a61944eaa6ebbedb4c69
parent3a9d0d7b64b72144369f48ef12ef0ed69d633fd6
exec/cpu: Have cpu_exec_realize() return a boolean

Following the example documented since commit e3fe3988d7 ("error:
Document Error API usage rules"), have cpu_exec_realizefn()
return a boolean indicating whether an error is set or not.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230918160257.30127-22-philmd@linaro.org>
cpu-target.c
include/hw/core/cpu.h