From: Thomas Huth <thuth@redhat.com>
To: Christian Borntraeger <borntraeger@de.ibm.com>,
qemu-s390x@nongnu.org,
Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Cc: Cornelia Huck <cohuck@redhat.com>,
qemu-devel@nongnu.org, Collin Walling <walling@linux.ibm.com>,
Farhan Ali <alifm@linux.ibm.com>
Subject: [Qemu-devel] [PATCH v2 0/4] pc-bios/s390-ccw: Network boot improvements
Date: Mon, 23 Apr 2018 09:58:21 +0200 [thread overview]
Message-ID: <1524470305-26484-1-git-send-email-thuth@redhat.com> (raw)
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
next reply other threads:[~2018-04-23 7:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-23 7:58 Thomas Huth [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1524470305-26484-1-git-send-email-thuth@redhat.com \
--to=thuth@redhat.com \
--cc=alifm@linux.ibm.com \
--cc=borntraeger@de.ibm.com \
--cc=cohuck@redhat.com \
--cc=mihajlov@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-s390x@nongnu.org \
--cc=walling@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).