qemu-cr16/hw/openrisc
Vishal Chourasia a9c608904f hw/core/loader: capture Error from load_image_targphys
Add Error **errp parameter to load_image_targphys(),
load_image_targphys_as(), and get_image_size() to enable better
error reporting when image loading fails.

Pass NULL for errp in all existing call sites to maintain current
behavior. No functional change intended in this patch.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Aditya Gupta <adityag@linux.ibm.com>
Tested-by: Aditya Gupta <adityag@linux.ibm.com>
Signed-off-by: Vishal Chourasia <vishalc@linux.ibm.com>
Message-ID: <20251024130556.1942835-6-vishalc@linux.ibm.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2025-10-28 08:19:18 +01:00
..
boot.c hw/core/loader: capture Error from load_image_targphys 2025-10-28 08:19:18 +01:00
cputimer.c add cpu_test_interrupt()/cpu_set_interrupt() helpers and use them tree wide 2025-08-29 12:48:14 +02:00
Kconfig hw/char: Extract serial-mm 2024-10-03 19:33:23 +02:00
meson.build meson: pick libfdt from common_ss when building target-specific files 2024-05-10 15:45:15 +02:00
openrisc_sim.c hw/openrisc/openrisc_sim: Avoid buffer overflow build error 2025-10-21 20:09:57 +02:00
virt.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00