summaryrefslogtreecommitdiffstats
path: root/hw/s390x/s390-virtio-ccw.c
diff options
context:
space:
mode:
authorFarhan Ali2016-10-21 18:17:08 +0200
committerCornelia Huck2017-02-28 12:04:48 +0100
commit5f31ade055dfb9da9d04fe826374ed5f91dd5d24 (patch)
tree992ac4521ac6a65c026fc8f591d70bfdc31ee4f2 /hw/s390x/s390-virtio-ccw.c
parentelf-loader: Allow late loading of elf (diff)
downloadqemu-5f31ade055dfb9da9d04fe826374ed5f91dd5d24.tar.gz
qemu-5f31ade055dfb9da9d04fe826374ed5f91dd5d24.tar.xz
qemu-5f31ade055dfb9da9d04fe826374ed5f91dd5d24.zip
s390x/ipl: Extend S390IPLState to support network boot
Add new field to S390IPLState to store the name of the network boot loader. Signed-off-by: Farhan Ali <alifm@linux.vnet.ibm.com> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/s390x/s390-virtio-ccw.c')
-rw-r--r--hw/s390x/s390-virtio-ccw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c
index 4f0d62b2d8..40914fde6f 100644
--- a/hw/s390x/s390-virtio-ccw.c
+++ b/hw/s390x/s390-virtio-ccw.c
@@ -116,7 +116,8 @@ static void ccw_init(MachineState *machine)
/* get a BUS */
css_bus = virtual_css_bus_init();
s390_init_ipl_dev(machine->kernel_filename, machine->kernel_cmdline,
- machine->initrd_filename, "s390-ccw.img", true);
+ machine->initrd_filename, "s390-ccw.img",
+ "s390-netboot.img", true);
s390_flic_init();
dev = qdev_create(NULL, TYPE_S390_PCI_HOST_BRIDGE);