Interactive Boot Menu for DASD and SCSI Guests on s390x
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v9 Latest13 patches 4 repliesIn review
- v813 patches 24 repliesSuperseded
- v712 patches 22 repliesSuperseded
Earlier versions · 6
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 | 12 patches | 15 replies | Superseded | |
| v5 | 12 patches | 24 replies | Superseded | |
| v4 | 10 patches | 27 replies | Superseded | |
| v3 | 8 patches | 22 replies | Superseded | |
| v2 | 5 patches | 17 replies | Superseded | |
| v1 | 5 patches | 20 replies | Superseded |
Patches in v9 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | s390-ccw: refactor boot map table codepc-bios/ pc-bios/ | +37 | 0 replies | |
| 2/13 | s390-ccw: refactor eckd_block_num to use CHSpc-bios/ pc-bios/ | +20 | 0 replies | |
| 3/13 | s390-ccw: refactor IPL structspc-bios/ pc-bios/ | +27 | 0 replies | |
| 4/13 | s390-ccw: update libcpc-bios/ pc-bios/ pc-bios/ +4 more | +129 | 0 replies | |
| 5/13 | s390-ccw: move auxiliary IPL data to separate locationhw/ hw/ pc-bios/ +1 more | +61 | 2 replies | |
| 6/13 | s390-ccw: parse and set boot menu optionshw/ hw/ pc-bios/ | +66 | 0 replies | |
| 7/13 | s390-ccw: set up interactive boot menu parameterspc-bios/ pc-bios/ pc-bios/ +1 more | +50 | 0 replies | |
| 8/13 | s390-ccw: read stage2 boot loader data to find menupc-bios/ pc-bios/ pc-bios/ +1 more | +122 | 0 replies | |
| 9/13 | s390-ccw: print zipl boot menupc-bios/ | +32 | 0 replies | |
| 10/13 | s390-ccw: read user input for boot index via the SCLP consolepc-bios/ pc-bios/ pc-bios/ +1 more | +170 | 0 replies | |
| 11/13 | s390-ccw: set cp_receive mask only when needed and consume pending service irqspc-bios/ pc-bios/ pc-bios/ | +10 | 0 replies | |
| 12/13 | s390-ccw: use zipl values when no boot menu options are presenthw/ hw/ pc-bios/ +2 more | +24 | 0 replies | |
| 13/13 | s390-ccw: interactive boot menu for scsihw/ pc-bios/ pc-bios/ +2 more | +28 | 1 reply |
Reviews trailers per patch
All 13 patches have a Reviewed-by or Acked-by.
| Patch | Thomas Huth | Janosch Frank | Christian Borntraeger |
|---|---|---|---|
| 1/13 | R-b | ||
| 2/13 | R-b | ||
| 3/13 | R-b | A-b | |
| 4/13 | R-b | R-b | A-b |
| 5/13 | R-b | ||
| 6/13 | R-b | R-b | |
| 7/13 | R-b | ||
| 8/13 | R-b | ||
| 9/13 | R-b | ||
| 10/13 | R-b | ||
| 11/13 | R-b | ||
| 12/13 | R-b | ||
| 13/13 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [Qemu-devel] [PATCH v9 00/13] Interactive Boot Menu for DASD and SCSI Guests on s390x
--- [v9] ---
- only set boot menu opts if a bootindex was specified on cmd
- Menus for guests with an IPL device that chooses to use the SCSI scheme are only enabled explicitly for -boot menu=on options (i.e. it will appropriately and cleanly ignore the zipl flag)
--- [Summary] ---
These patches implement a boot menu for ECKD DASD and SCSI guests on s390x. The menu will only appear if the disk has been configured for IPL with the zIPL tool and with the following QEMU command line options:
-boot menu=on[,splash-time=X] and/or -machine loadparm='prompt'
The following must be specified for the device to be IPL'd from:
-device ...,bootindex=1
or via the following libvirt domain xml:
<os>
<bootmenu enable='yes' timeout='X'/>
</os>
or
<disk>
...
<boot order='1' loadparm='PROMPT'/>
</disk>Where X is some positive integer representing time in milliseconds.
<boot order='1' ... > must be specified for the device to be IPL'd from
A loadparm other than 'prompt' will disable the menu and just boot the specified entry.
If no boot options are specified, we will attempt to use the values provided by zipl (ECKD DASD only).
Collin L. Walling (13):
s390-ccw: refactor boot map table code
s390-ccw: refactor eckd_block_num to use CHS
s390-ccw: refactor IPL structs
s390-ccw: update libc
s390-ccw: move auxiliary IPL data to separate location
s390-ccw: parse and set boot menu options
s390-ccw: set up interactive boot menu parameters
s390-ccw: read stage2 boot loader data to find menu
s390-ccw: print zipl boot menu
s390-ccw: read user input for boot index via the SCLP console
s390-ccw: set cp_receive mask only when needed and consume pending
service irqs
s390-ccw: use zipl values when no boot menu options are present
s390-ccw: interactive boot menu for scsi
hw/s390x/ipl.c | 76 +++++++++++++- hw/s390x/ipl.h | 31 +++++- pc-bios/s390-ccw/Makefile | 2 +- pc-bios/s390-ccw/bootmap.c | 184 +++++++++++++++++++++++--------- pc-bios/s390-ccw/bootmap.h | 91 ++++++++++------ pc-bios/s390-ccw/iplb.h | 24 ++++- pc-bios/s390-ccw/libc.c | 88 ++++++++++++++++ pc-bios/s390-ccw/libc.h | 37 ++++++- pc-bios/s390-ccw/main.c | 49 ++++++--- pc-bios/s390-ccw/menu.c | 249 ++++++++++++++++++++++++++++++++++++++++++++ pc-bios/s390-ccw/s390-ccw.h | 10 ++ pc-bios/s390-ccw/sclp.c | 39 ++++--- pc-bios/s390-ccw/virtio.c | 2 +- 13 files changed, 756 insertions(+), 126 deletions(-) create mode 100644 pc-bios/s390-ccw/libc.c create mode 100644 pc-bios/s390-ccw/menu.c
Signature · 1 line
2.7.4