qemu-s390x
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[qemu-s390x] [PATCH v2 0/4] pc-bios/s390-ccw: Network boot improvements


From: Thomas Huth
Subject: [qemu-s390x] [PATCH v2 0/4] pc-bios/s390-ccw: Network boot improvements
Date: Mon, 23 Apr 2018 09:58:21 +0200

Some patches to improve the network boot experience on s390x:

First patch is just a minor code refactoring which should not have
any visible impact, but makes the following patches easier.

Patch 2 and 3 add support for loading kernels via configuration files,
pxelinux-style and .INS-file style. This way you don't have to manually
glue your ramdisk to your kernel anymore, so this should be quite a
relieve for all users who want to boot Linux via the network.

The last patch makes sure that we leave the machine in a sane state
before jumping into the Linux kernel - i.e. the netboot firmware now
resets the machine with diag308, too, just like the main s390-ccw
is doing it already.

v2:
 - Replaced the patch to shut down virtio-net with the diag308 patch
 - Slightly changed the logic that probes for pxelinux config files:
   The user can now supply a base folder where config files reside
   (the DHCP bootfile name then must end with a slash), and the
   firmware will then only look in that folder for config files
   instead of always probing the "pxelinux.cfg" folder. This way
   we avoid a potential clash with x86 pxelinux.cfg files.
 - Some clean-ups here and there.

Thomas Huth (4):
  pc-bios/s390-ccw/net: Split up net_load() into init, load and uninit
    parts
  pc-bios/s390-ccw/net: Add support for pxelinux-style config files
  pc-bios/s390-ccw/net: Add support for .INS config files
  pc-bios/s390-ccw/net: Use diag308 to reset machine before jumping to
    the OS

 pc-bios/s390-ccw/Makefile    |   4 +-
 pc-bios/s390-ccw/bootmap.c   |  63 +-------
 pc-bios/s390-ccw/bootmap.h   |   4 -
 pc-bios/s390-ccw/jump2ipl.c  |  81 ++++++++++
 pc-bios/s390-ccw/netboot.mak |   8 +-
 pc-bios/s390-ccw/netmain.c   | 344 +++++++++++++++++++++++++++++++++++++++----
 pc-bios/s390-ccw/s390-ccw.h  |   4 +
 7 files changed, 408 insertions(+), 100 deletions(-)
 create mode 100644 pc-bios/s390-ccw/jump2ipl.c

-- 
1.8.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]