All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/4] pc-bios/s390-ccw: Network boot improvements
@ 2018-04-23  7:58 Thomas Huth
  2018-04-23  7:58 ` [Qemu-devel] [PATCH v2 1/4] pc-bios/s390-ccw/net: Split up net_load() into init, load and uninit parts Thomas Huth
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Thomas Huth @ 2018-04-23  7:58 UTC (permalink / raw)
  To: Christian Borntraeger, qemu-s390x, Viktor Mihajlovski
  Cc: Cornelia Huck, qemu-devel, Collin Walling, Farhan Ali

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-04-24 14:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-23  7:58 [Qemu-devel] [PATCH v2 0/4] pc-bios/s390-ccw: Network boot improvements Thomas Huth
2018-04-23  7:58 ` [Qemu-devel] [PATCH v2 1/4] pc-bios/s390-ccw/net: Split up net_load() into init, load and uninit parts Thomas Huth
2018-04-23  7:58 ` [Qemu-devel] [PATCH v2 2/4] pc-bios/s390-ccw/net: Add support for pxelinux-style config files Thomas Huth
2018-04-24 11:07   ` Viktor VM Mihajlovski
2018-04-24 11:23     ` Thomas Huth
2018-04-24 12:19       ` Viktor VM Mihajlovski
2018-04-24 13:41   ` Viktor VM Mihajlovski
2018-04-24 14:13     ` Thomas Huth
2018-04-23  7:58 ` [Qemu-devel] [PATCH v2 3/4] pc-bios/s390-ccw/net: Add support for .INS " Thomas Huth
2018-04-23  7:58 ` [Qemu-devel] [PATCH v2 4/4] pc-bios/s390-ccw/net: Use diag308 to reset machine before jumping to the OS Thomas Huth
2018-04-23 14:55 ` [Qemu-devel] [PATCH v2 5/4] pc-bios/s390-ccw/net: Try to load pxelinux.cfg file accoring to the UUID Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.