[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [PATCH v8 12/13] s390-ccw: use zipl values when no boot
From: |
Thomas Huth |
Subject: |
Re: [qemu-s390x] [PATCH v8 12/13] s390-ccw: use zipl values when no boot menu options are present |
Date: |
Thu, 22 Feb 2018 07:27:47 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
On 21.02.2018 20:35, Collin L. Walling wrote:
> 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 <address@hidden>
> ---
> hw/s390x/ipl.c | 5 +++++
> hw/s390x/ipl.h | 1 +
> pc-bios/s390-ccw/iplb.h | 1 +
> pc-bios/s390-ccw/main.c | 3 ++-
> pc-bios/s390-ccw/menu.c | 14 ++++++++++++++
> 5 files changed, 23 insertions(+), 1 deletion(-)
Reviewed-by: Thomas Huth <address@hidden>
- [qemu-s390x] [PATCH v8 00/13] Interactive Boot Menu for DASD and SCSI Guests on s390x, Collin L. Walling, 2018/02/21
- [qemu-s390x] [PATCH v8 08/13] s390-ccw: read stage2 boot loader data to find menu, Collin L. Walling, 2018/02/21
- [qemu-s390x] [PATCH v8 02/13] s390-ccw: refactor eckd_block_num to use CHS, Collin L. Walling, 2018/02/21
- [qemu-s390x] [PATCH v8 12/13] s390-ccw: use zipl values when no boot menu options are present, Collin L. Walling, 2018/02/21
- Re: [qemu-s390x] [PATCH v8 12/13] s390-ccw: use zipl values when no boot menu options are present,
Thomas Huth <=
- [qemu-s390x] [PATCH v8 01/13] s390-ccw: refactor boot map table code, Collin L. Walling, 2018/02/21
- [qemu-s390x] [PATCH v8 04/13] s390-ccw: update libc, Collin L. Walling, 2018/02/21
- [qemu-s390x] [PATCH v8 10/13] s390-ccw: read user input for boot index via the SCLP console, Collin L. Walling, 2018/02/21
- [qemu-s390x] [PATCH v8 11/13] s390-ccw: set cp_receive mask only when needed and consume pending service irqs, Collin L. Walling, 2018/02/21
- [qemu-s390x] [PATCH v8 06/13] s390-ccw: parse and set boot menu options, Collin L. Walling, 2018/02/21
- [qemu-s390x] [PATCH v8 07/13] s390-ccw: set up interactive boot menu parameters, Collin L. Walling, 2018/02/21
- [qemu-s390x] [PATCH v8 03/13] s390-ccw: refactor IPL structs, Collin L. Walling, 2018/02/21