qemu-cr16/hw/sh4
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
..
Kconfig hw/sh4: Remove the deprecated SHIX machine 2024-09-13 20:10:49 +02:00
meson.build hw/sh4: Remove the deprecated SHIX machine 2024-09-13 20:10:49 +02:00
r2d.c hw/core/loader: capture Error from load_image_targphys 2025-10-28 08:19:18 +01:00
sh7750.c include: Remove 'exec/exec-all.h' 2025-04-30 12:45:05 -07:00
sh7750_regnames.c hw/sh4: Coding style: Add missing braces 2021-10-30 11:46:40 +02:00
sh7750_regnames.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
sh7750_regs.h sh4: correct typos 2024-02-21 08:16:30 +03:00
trace-events hw/sh4: Remove newline character in trace events 2024-06-10 13:05:27 -04:00
trace.h hw/sh4: Change debug printfs to traces 2021-10-30 18:39:37 +02:00