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>
---
include/sysemu/hostmem.h | 10 +++++++++-
backends/hostmem-epc.c | 11 +++++------
backends/hostmem-file.c | 19 ++++++++++---------
backends/hostmem-memfd.c | 10 +++++-----
backends/hostmem-ram.c | 9 +++++----
backends/hostmem.c | 5 ++---
6 files changed, 36 insertions(+), 28 deletions(-)