Sounds good. Thanks Thomas.
Regards,
Jared Rossi
On 3/6/23 7:12 AM, Thomas Huth wrote:
On 21/02/2023 18.45, [email protected] wrote:
From: Jared Rossi <[email protected]>
Check for a List Directed IPL Boot Record, which would supersede the
CCW type
entries. If the record is valid, proceed to use the new style pointers
and perform LD-IPL. Each block pointer is interpreted as either an
LD-IPL
pointer or a legacy CCW pointer depending on the type of IPL initiated.
In either case CCW- or LD-IPL is transparent to the user and will
boot the same
image regardless of which set of pointers is used. Because the
interactive boot
menu is only written with the old style pointers, the menu will be
disabled for
List Directed IPL from ECKD DASD.
If the LD-IPL fails, retry the IPL using the CCW type pointers.
If no LD-IPL boot record is found, simply perform CCW type IPL as usual.
Signed-off-by: Jared Rossi <[email protected]>
---
pc-bios/s390-ccw/bootmap.c | 157 ++++++++++++++++++++++++++++---------
pc-bios/s390-ccw/bootmap.h | 30 ++++++-
2 files changed, 148 insertions(+), 39 deletions(-)
Ok, the patch survived my local regression testing, and it also looks
good enough to me for inclusion, so I'll queue it for my
final pull request before the QEMU 8.0 soft freeze tomorrow.
Thomas