Skip to content

Small fixes for s390x QEMU boot menu

Collin Walling qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 1 replyIn review
  2. v24 patches 4 repliesSuperseded
  3. v14 patches 8 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4pc-bios/s390-ccw: rename MAX_TABLE_ENTRIES to MAX_BOOT_ENTRIESpc-bios/s390-ccw/bootmap.c pc-bios/s390-ccw/bootmap.h pc-bios/s390-ccw/s390-ccw.h+5 -50 replies
2/4pc-bios/s390-ccw: fix loadparm initialization and int conversionhw/s390x/ipl.c pc-bios/s390-ccw/main.c+11 -70 replies
3/4pc-bios/s390-ccw: fix non-sequential boot entries (eckd)pc-bios/s390-ccw/menu.c+20 -90 replies
4/4pc-bios/s390-ccw: fix non-sequential boot entries (enum)pc-bios/s390-ccw/bootmap.c pc-bios/s390-ccw/menu.c pc-bios/s390-ccw/s390-ccw.h+28 -150 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchThomas HuthJanosch Frank
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/4] Small fixes for s390x QEMU boot menu

Change Log:

v3

- added r-b's
- added check around memset

v2

- added r-b's
- s/zipl_println/zipl_print_entry
- prints entry and returns entry number
- while loop now handles valid_entries

These patches fix the following:

- The QEMU zIPL boot menu does not allow accurate selection of non-sequential entries.

- The QEMU zIPL boot menu does not have all the capabilities of the real zIPL menu (such as commandline args). We should print a different banner to reflect this.

- The loadparm array in main.c can end up being not null terminated when converted to an integer via atoui.

- A loadparm set to an empty string does not allow a boot menu.

Collin Walling (4):
pc-bios/s390-ccw: rename MAX_TABLE_ENTRIES to MAX_BOOT_ENTRIES pc-bios/s390-ccw: fix loadparm initialization and int conversion pc-bios/s390-ccw: fix non-sequential boot entries (eckd) pc-bios/s390-ccw: fix non-sequential boot entries (enum)

 hw/s390x/ipl.c              |  4 ++++
 pc-bios/s390-ccw/bootmap.c  | 16 +++++++------
 pc-bios/s390-ccw/bootmap.h  |  2 --
 pc-bios/s390-ccw/main.c     | 14 +++++------
 pc-bios/s390-ccw/menu.c     | 58 +++++++++++++++++++++++++++++++--------------
 pc-bios/s390-ccw/s390-ccw.h |  4 +++-
 6 files changed, 63 insertions(+), 35 deletions(-)
Signature · 1 line
2.7.4