]> www.infradead.org Git - qemu-nvme.git/commit
memory: Have memory_region_init_ram_nomigrate() handler return a boolean
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 20 Nov 2023 12:21:56 +0000 (13:21 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 5 Jan 2024 15:20:15 +0000 (16:20 +0100)
commit62c19b72c7fefb5fcd13ed4e2c833d2f99458193
tree86b4c9a7d49effa4e02d7f5173ca71ac66d5f751
parentcbbc4340232107a85809a7abc37435bead937597
memory: Have memory_region_init_ram_nomigrate() handler return a boolean

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

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Message-Id: <20231120213301.24349-3-philmd@linaro.org>
include/exec/memory.h
system/memory.c