On 24/10/25 11:26, Vishal Chourasia wrote:
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 <[email protected]>
Signed-off-by: Vishal Chourasia <[email protected]>
---
  hw/ppc/amigaone.c      | 13 ++-----------
  hw/ppc/e500.c          | 19 +++----------------
  hw/ppc/mac_newworld.c  | 16 +++-------------
  hw/ppc/mac_oldworld.c  | 16 +++-------------
  hw/ppc/pegasos2.c      |  9 ++-------
  hw/ppc/pnv.c           | 28 +++++-----------------------
  hw/ppc/ppc440_bamboo.c |  8 +-------
  hw/ppc/prep.c          | 17 ++++-------------
  hw/ppc/sam460ex.c      |  7 +------
  hw/ppc/spapr.c         | 13 ++-----------
  hw/ppc/virtex_ml507.c  | 10 ++--------
  11 files changed, 28 insertions(+), 128 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to