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/m68k
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 next-cube: add empty slots for unknown accesses to next.scr memory region 11 months ago
an5206.c hw/core/loader: capture Error from load_image_targphys 2 weeks ago
bootinfo.h hw/m68k: Use explicit big-endian LD/ST API 1 year ago
mcf5206.c qom: Have class_init() take a const data argument 7 months ago
mcf5208.c hw/core/loader: capture Error from load_image_targphys 2 weeks ago
mcf_intc.c qom: Have class_init() take a const data argument 7 months ago
meson.build q800: move GLUE device into separate q800-glue.c file 2 years ago
next-cube.c hw/core/loader: capture Error from load_image_targphys 2 weeks ago
next-kbd.c qom: Have class_init() take a const data argument 7 months ago
q800-glue.c qom: Make InterfaceInfo[] uses const 7 months ago
q800.c hw/core/loader: capture Error from load_image_targphys 2 weeks ago
virt.c hw/core/loader: capture Error from load_image_targphys 2 weeks ago