qemu-cr16/hw/nubus
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
mac-nubus-bridge.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
meson.build hw/nubus: add nubus-virtio-mmio device 2024-02-27 09:36:39 +01:00
nubus-bridge.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
nubus-bus.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
nubus-device.c hw/core/loader: capture Error from load_image_targphys 2025-10-28 08:19:18 +01:00
nubus-virtio-mmio.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
trace-events trace-events: Fix the name of the tracing.rst file 2023-09-08 13:08:51 +03:00
trace.h nubus: add trace-events for empty slot accesses 2021-09-29 10:45:19 +02:00