You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/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>
2 weeks ago
..
Kconfig hw/sh4: Remove the deprecated SHIX machine 1 year ago
meson.build hw/sh4: Remove the deprecated SHIX machine 1 year ago
r2d.c hw/core/loader: capture Error from load_image_targphys 2 weeks ago
sh7750.c include: Remove 'exec/exec-all.h' 7 months ago
sh7750_regnames.c hw/sh4: Coding style: Add missing braces 4 years ago
sh7750_regnames.h Clean up ill-advised or unusual header guards 9 years ago
sh7750_regs.h sh4: correct typos 2 years ago
trace-events hw/sh4: Remove newline character in trace events 1 year ago
trace.h hw/sh4: Change debug printfs to traces 4 years ago