qemu-cr16/hw/xtensa
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
..
bootparam.h hw/xtensa: Include missing 'exec/tswap.h' header 2024-12-14 00:16:20 +01:00
Kconfig hw/char: Extract serial-mm 2024-10-03 19:33:23 +02:00
meson.build meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
mx_pic.c hw/xtensa: fix reset value of MIROUT register of MX PIC 2022-05-06 15:27:40 -07:00
pic_cpu.c exec/cpu-all: remove exec/cpu-interrupt include 2025-04-23 15:04:57 -07:00
sim.c include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
virt.c include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
xtensa_memory.c include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
xtensa_memory.h Include exec/memory.h slightly less 2019-08-16 13:31:52 +02:00
xtensa_sim.h hw/xtensa: add virt machine 2019-10-18 20:38:10 -07:00
xtfpga.c hw/core/loader: capture Error from load_image_targphys 2025-10-28 08:19:18 +01:00