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/sparc
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 sparc: switch boards to "default y" 2 years ago
leon3.c hw/core/loader: capture Error from load_image_targphys 2 weeks ago
meson.build meson: convert hw/arch* 5 years ago
sun4m.c hw/core/loader: capture Error from load_image_targphys 2 weeks ago
sun4m_iommu.c qom: Have class_init() take a const data argument 7 months ago
trace-events docs: fix references to docs/devel/tracing.rst 5 years ago
trace.h trace: switch position of headers to what Meson requires 5 years ago