s390-ccw: interactive boot menu for scsi

Interactive boot menu for scsi. This follows a similar procedure
as the interactive menu for eckd dasd. An example follows:

    s390x Enumerated Boot Menu.

    3 entries detected. Select from index 0 to 2.

Signed-off-by: Collin L. Walling <walling@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
[thuth: Added additional "break;" statement to avoid analyzer warnings]
Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
Collin L. Walling 2018-02-23 10:43:19 -05:00 committed by Thomas Huth
parent 53b310ce53
commit ffb4a1c807
5 changed files with 29 additions and 0 deletions

View file

@ -247,6 +247,8 @@ static void s390_ipl_set_boot_menu(S390IPLState *ipl)
return;
}
break;
case S390_IPL_TYPE_QEMU_SCSI:
break;
default:
error_report("boot menu is not supported for this device type.");
return;