On 11/21/23 07:32, Philippe Mathieu-Daudé wrote:
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é <phi...@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(-)


s/cpu_exec_realizefn()/HostMemoryBackendClass::alloc()

Reviewed-by: Gavin Shan <gs...@redhat.com>


Reply via email to