]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/ppc: Pass error_fatal to load_image_targphys()
authorVishal Chourasia <vishalc@linux.ibm.com>
Fri, 24 Oct 2025 13:06:03 +0000 (18:36 +0530)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 28 Oct 2025 07:19:18 +0000 (08:19 +0100)
commitcd274e83d50ba52ede62d2a8ea0f0ae7cb1ef469
treefcc5f7ffdad047b5ebe2ab1613d59ee80b7e9ca7
parent1b5eafee86d9bd26efcc09ad82424a85c88206f4
hw/ppc: Pass error_fatal to load_image_targphys()

Pass error_fatal to load_image_targphys() calls in ppc machine initialization
to capture detailed error information when loading firmware, kernel,
and initrd images.

Passing error_fatal automatically reports detailed error messages and
exits immediately on failure. Eliminating redundant exit(1) calls, as
error_fatal handles termination

The behavior remains functionally identical, but error messages now
come directly from the loader function with more context about the
failure cause.

Reviewed-by: Aditya Gupta <adityag@linux.ibm.com>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Vishal Chourasia <vishalc@linux.ibm.com>
Message-ID: <20251024130556.1942835-14-vishalc@linux.ibm.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/ppc/amigaone.c
hw/ppc/e500.c
hw/ppc/mac_newworld.c
hw/ppc/mac_oldworld.c
hw/ppc/pegasos2.c
hw/ppc/pnv.c
hw/ppc/ppc440_bamboo.c
hw/ppc/prep.c
hw/ppc/sam460ex.c
hw/ppc/spapr.c
hw/ppc/virtex_ml507.c