]> git.proxmox.com Git - mirror_qemu.git/commit - hw/s390x/ipl.c
s390x/ipl: Load network boot image
authorFarhan Ali <alifm@linux.vnet.ibm.com>
Thu, 20 Oct 2016 21:59:20 +0000 (17:59 -0400)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 28 Feb 2017 11:04:48 +0000 (12:04 +0100)
commitf38b5b7fc4e27724afc72b91efa2bc82f84bb25e
tree6301e09119bcb32eef1993d7c2709742ecaa2b39
parent5f31ade055dfb9da9d04fe826374ed5f91dd5d24
s390x/ipl: Load network boot image

Load the network boot image into guest RAM when the boot
device selected is a network device. Use some of the reserved
space in IplBlockCcw to store the start address of the netboot
image.

A user could also use 'chreipl'(diag 308/5) to change the boot device.
So every time we update the IPLB, we need to verify if the selected
boot device is a network device so we can appropriately load the
network boot image.

Signed-off-by: Farhan Ali <alifm@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/ipl.c
hw/s390x/ipl.h