From: Christian Borntraeger Date: Wed, 12 Jul 2017 14:00:41 +0000 (+0200) Subject: pc-bios/s390: add s390-netboot.img X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6c5359e161b8e90e14940c0c72025dcfb8ce32f9;p=qemu.git pc-bios/s390: add s390-netboot.img It's already possible to do a network boot of an s390x guest with an external netboot image based on a Linux installation, but it would be much more convenient if the s390-ccw firmware supported network booting right out of the box, without the need to assemble such an external image first. This is an s390-netboot.img that can be used for network booting. You can download a combined kernel + initrd image via TFTP by starting QEMU for example with: qemu-system-s390x ... -device virtio-net,netdev=n1,bootindex=1 \ -netdev user,id=n1,tftp=/path/to/tftp,bootfile=kernel.img Note that this version does not support downloading via config files (i.e. pxelinux config files or .INS config files) yet. This will be added later. Signed-off-by: Christian Borntraeger --- diff --git a/Makefile b/Makefile index 16a0430c6c..38814f9a61 100644 --- a/Makefile +++ b/Makefile @@ -553,7 +553,7 @@ efi-e1000e.rom efi-vmxnet3.rom \ qemu-icon.bmp qemu_logo_no_text.svg \ bamboo.dtb petalogix-s3adsp1800.dtb petalogix-ml605.dtb \ multiboot.bin linuxboot.bin linuxboot_dma.bin kvmvapic.bin \ -s390-ccw.img \ +s390-ccw.img s390-netboot.img \ spapr-rtas.bin slof.bin skiboot.lid \ palcode-clipper \ u-boot.e500 \ diff --git a/pc-bios/s390-netboot.img b/pc-bios/s390-netboot.img new file mode 100755 index 0000000000..295ddfcf6a Binary files /dev/null and b/pc-bios/s390-netboot.img differ