qemu-cr16/hw/microblaze
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
..
boot.c hw/core/loader: capture Error from load_image_targphys 2025-10-28 08:19:18 +01:00
boot.h hw/microblaze: Propagate CPU endianness to microblaze_load_kernel() 2024-12-31 21:21:34 +01:00
Kconfig hw/microblaze: Add missing FDT dependency 2025-07-15 00:24:26 +02:00
meson.build meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
petalogix_ml605_mmu.c hw/microblaze: Remove the big-endian variants of ml605 and xlnx-zynqmp-pmu 2025-05-30 09:52:08 +02:00
petalogix_s3adsp1800_mmu.c hw/microblaze: Add endianness property to the petalogix_s3adsp1800 machine 2025-05-30 09:52:08 +02:00
xlnx-zynqmp-pmu.c hw/microblaze: Remove the big-endian variants of ml605 and xlnx-zynqmp-pmu 2025-05-30 09:52:08 +02:00