zipl: show whether we're installed LD ipl or dump

Let the user know whether we're going to install a
list-directed IPL or dump.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Eduard Shishkin <edward6@linux.ibm.com>
Acked-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
Sven Schnelle
2023-04-20 13:27:39 +00:00
committed by Steffen Eiden
parent c8e989840f
commit e496e9862c
3 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -841,7 +841,7 @@ disk_get_type_name(disk_type_t type)
}
/* Return IPL types supported for a given disk TYPE */
char *disk_get_ipl_type(disk_type_t type)
char *disk_get_ipl_type(disk_type_t type, int is_dump)
{
switch (type) {
case disk_type_scsi:
@@ -850,7 +850,7 @@ char *disk_get_ipl_type(disk_type_t type)
case disk_type_eckd_ldl:
return "CCW-";
case disk_type_eckd_cdl:
return "CCW- and LD-";
return is_dump ? "LD-" : "CCW- and LD-";
default:
return "";
}