Re: [PATCH-for-9.0 11/25] memory: Have memory_region_init_resizeable_ram() return a boolean
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é --- include/exec/memory.h | 4 +++- system/memory.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) s/cpu_exec_realizefn()/memory_region_init_resizeable_ram() Reviewed-by: Gavin Shan
Re: [PATCH-for-9.0 11/25] memory: Have memory_region_init_resizeable_ram() return a boolean
On Mon, Nov 20, 2023 at 10:32:45PM +0100, Philippe Mathieu-Daudé wrote: > Following the example documented since commit e3fe3988d7 ("error: > Document Error API usage rules"), have cpu_exec_realizefn() same > return a boolean indicating whether an error is set or not. > > Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Peter Xu -- Peter Xu