qemu/pc-bios/s390-ccw
Collin L. Walling 53b310ce53 s390-ccw: use zipl values when no boot menu options are present
If no boot menu options are present, then flag the boot menu to
use the zipl options that were set in the zipl configuration file
(and stored on disk by zipl). These options are found at some
offset prior to the start of the zipl boot menu banner. The zipl
timeout value is limited to a 16-bit unsigned integer and stored
as seconds, so we take care to convert it to milliseconds in order
to conform to the rest of the boot menu functionality. This is
limited to CCW devices.

For reference, the zipl configuration file uses the following
fields in the menu section:

      prompt=1      enable the boot menu
      timeout=X     set the timeout to X seconds

To explicitly disregard any boot menu options, then menu=off or
<bootmenu enable='no' ... /> must be specified.

Signed-off-by: Collin L. Walling <walling@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2018-02-26 07:56:55 +01:00
..
bootmap.c s390-ccw: read stage2 boot loader data to find menu 2018-02-26 07:56:55 +01:00
bootmap.h s390-ccw: read stage2 boot loader data to find menu 2018-02-26 07:56:55 +01:00
bswap.h pc-bios/s390-ccw: Move byteswap functions to a separate header 2017-07-14 12:29:48 +02:00
cio.h s390-ccw: Fix alignment for CCW1 2017-08-30 18:23:26 +02:00
iplb.h s390-ccw: use zipl values when no boot menu options are present 2018-02-26 07:56:55 +01:00
libc.c s390-ccw: update libc 2018-02-26 07:56:54 +01:00
libc.h s390-ccw: update libc 2018-02-26 07:56:54 +01:00
main.c s390-ccw: use zipl values when no boot menu options are present 2018-02-26 07:56:55 +01:00
Makefile s390-ccw: set up interactive boot menu parameters 2018-02-26 07:56:55 +01:00
menu.c s390-ccw: use zipl values when no boot menu options are present 2018-02-26 07:56:55 +01:00
netboot.mak s390: set DHCP client architecure id for netboot 2017-09-19 18:21:33 +02:00
netmain.c pc-bios/s390-ccw: Link libnet into the netboot image and do the TFTP load 2017-07-14 12:29:48 +02:00
s390-ccw.h s390-ccw: set cp_receive mask only when needed and consume pending service irqs 2018-02-26 07:56:55 +01:00
sclp.c s390-ccw: set cp_receive mask only when needed and consume pending service irqs 2018-02-26 07:56:55 +01:00
sclp.h pc-bios/s390-ccw: get LOADPARM stored in SCP Read Info 2017-05-02 15:08:54 +02:00
scsi.h pc-bios/s390-ccw: Get Block Limits VPD device data 2017-05-19 12:29:01 +02:00
start.S pc-bios/s390-ccw: zero out bss section 2017-12-14 17:56:54 +01:00
virtio-blkdev.c pc-bios/s390-ccw: Move virtio-block related functions into a separate file 2017-07-14 12:29:48 +02:00
virtio-net.c pc-bios/s390-ccw: Add virtio-net driver code 2017-07-14 12:29:48 +02:00
virtio-scsi.c pc-bios/s390-ccw: Fix problem with invalid virtio-scsi LUN when rebooting 2017-11-20 10:35:12 +01:00
virtio-scsi.h pc-bios/s390-ccw: Build a reasonable max_sectors limit 2017-05-19 12:29:01 +02:00
virtio.c s390-ccw: read user input for boot index via the SCLP console 2018-02-26 07:56:55 +01:00
virtio.h pc-bios/s390-ccw: Add virtio-net driver code 2017-07-14 12:29:48 +02:00