[PATCH v2 0/5] pc-bios/s390-ccw: Add "loadparm" and menu for pxelinux.cfg network booting

Thomas Huth posted 5 patches 4 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250709083443.41574-1-thuth@redhat.com
Maintainers: Thomas Huth <thuth@redhat.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Jared Rossi <jrossi@linux.ibm.com>, Zhuoying Cai <zycai@linux.ibm.com>, Halil Pasic <pasic@linux.ibm.com>, Eric Farman <farman@linux.ibm.com>, Matthew Rosato <mjrosato@linux.ibm.com>
MAINTAINERS                             |   1 +
pc-bios/s390-ccw/s390-ccw.h             |   1 +
pc-bios/s390-ccw/menu.c                 |   6 +-
pc-bios/s390-ccw/netmain.c              |  66 ++++++++++---
tests/functional/meson.build            |   1 +
tests/functional/test_s390x_pxelinux.py | 119 ++++++++++++++++++++++++
6 files changed, 178 insertions(+), 16 deletions(-)
create mode 100755 tests/functional/test_s390x_pxelinux.py
[PATCH v2 0/5] pc-bios/s390-ccw: Add "loadparm" and menu for pxelinux.cfg network booting
Posted by Thomas Huth 4 months, 1 week ago
Since we're linking the network booting code into the main s390-ccw.img
firmware binary nowadays, we can support the "loadparm" parameter now
quite easily for pxelinux.cfg config files that contain multiple entries,
and also add support for a simple boot menu here.

v2:
- Abort the boot process if loadparm points to an invalid entry instead
  of trying to continue with the default entry

Thomas Huth (5):
  pc-bios/s390-ccw: Allow to select a different pxelinux.cfg entry via
    loadparm
  pc-bios/s390-ccw: Allow up to 31 entries for pxelinux.cfg
  pc-bios/s390-ccw: Make get_boot_index() from menu.c global
  pc-bios/s390-ccw: Add a boot menu for booting via pxelinux.cfg
  tests/functional: Add a test for s390x pxelinux.cfg network booting

 MAINTAINERS                             |   1 +
 pc-bios/s390-ccw/s390-ccw.h             |   1 +
 pc-bios/s390-ccw/menu.c                 |   6 +-
 pc-bios/s390-ccw/netmain.c              |  66 ++++++++++---
 tests/functional/meson.build            |   1 +
 tests/functional/test_s390x_pxelinux.py | 119 ++++++++++++++++++++++++
 6 files changed, 178 insertions(+), 16 deletions(-)
 create mode 100755 tests/functional/test_s390x_pxelinux.py

-- 
2.50.0