qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH-for-9.0 16/25] backends: Have HostMemoryBackendClass::alloc()


From: Gavin Shan
Subject: Re: [PATCH-for-9.0 16/25] backends: Have HostMemoryBackendClass::alloc() handler return a boolean
Date: Mon, 4 Dec 2023 14:57:56 +1000
User-agent: Mozilla Thunderbird

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é <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(-)


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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]