pc-bios/s390-ccw: Enable failed IPL to return after error
authorJared Rossi <jrossi@linux.ibm.com>
Sun, 20 Oct 2024 01:29:46 +0000 (21:29 -0400)
committerThomas Huth <thuth@redhat.com>
Wed, 23 Oct 2024 04:53:44 +0000 (06:53 +0200)
commit0181e23713114fd4c33326c3372aaf48dcfb412a
tree44c0cc68b4cf4078163a1bc1c9f830f20e5d8b5b
parentf1a2a6e41ef76e02ddc5ede3dd042ef96b4fb8d2
pc-bios/s390-ccw: Enable failed IPL to return after error

Remove panic-on-error from IPL functions such that a return code is propagated
back to the main IPL calling function (rather than terminating immediately),
which facilitates possible error recovery in the future.

A select few panics remain, which indicate fatal non-devices errors that must
result in termination.

Signed-off-by: Jared Rossi <jrossi@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20241020012953.1380075-13-jrossi@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
pc-bios/s390-ccw/bootmap.c
pc-bios/s390-ccw/cio.c
pc-bios/s390-ccw/jump2ipl.c
pc-bios/s390-ccw/main.c
pc-bios/s390-ccw/s390-ccw.h
pc-bios/s390-ccw/virtio-blkdev.c
pc-bios/s390-ccw/virtio.c
pc-bios/s390-ccw/virtio.h