mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
pc-bios/s390-ccw: IPL from DASD with format variations
There are two known cases of DASD format where signatures are incomplete or absent: 1. result of <dasdfmt -d ldl -L ...> (ECKD_LDL_UNLABELED) 2. CDL with zero keys in IPL1 and IPL2 records Now the code attempts to 1. find zIPL and use SCSI layout 2. find IPL1 and use CDL layout 3. find CMS1 and use LDL layout 3. find LNX1 and use LDL layout 4. find zIPL and use unlabeled LDL layout 5. find zIPL and use CDL layout 6. die in this sequence. Signed-off-by: Eugene (jno) Dvurechenski <jno@linux.vnet.ibm.com> Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> Acked-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
This commit is contained in:
parent
f04db28b86
commit
14f56a2e35
2 changed files with 30 additions and 24 deletions
|
@ -257,9 +257,9 @@ typedef struct IplVolumeLabel {
|
|||
|
||||
typedef enum {
|
||||
ECKD_NO_IPL,
|
||||
ECKD_CDL,
|
||||
ECKD_CMS,
|
||||
ECKD_LDL,
|
||||
ECKD_LDL_UNLABELED,
|
||||
} ECKD_IPL_mode_t;
|
||||
|
||||
/* utility code below */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue