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/loongarch
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 loongarch: add a direct interrupt controller device 2 months ago
boot.c hw/core/loader: capture Error from load_image_targphys 2 weeks ago
fw_cfg.c include: Rename sysemu/ -> system/ 11 months ago
fw_cfg.h hw/loongarch: Rename LoongArchMachineState with LoongArchVirtMachineState 2 years ago
meson.build hw/loongarch/virt: Add separate file for fdt building 9 months ago
virt-acpi-build.c hw/loongarch/virt: Remove header file ls7a.h 1 month ago
virt-fdt-build.c hw/loongarch/virt: Remove header file ls7a.h 1 month ago
virt.c hw/loongarch/virt: Sort order by hardware device base address 1 month ago