s390x: remove s390-zipl.rom
PATCH 1/1 s390x: remove s390-zipl.rom
This is an s390 boot rom which was used in s390-virtio machine. but since commit 3538fb6f89dd9bb2e7e59de2bfad52a45321c744 "s390x: remove s390-virtio machine", this file isn't used. The only place it is referenced in the code is an unused which I'm modifying too, to refer to s390-ccw.rom instead.
--- Makefile | 1 - hw/s390x/ipl.c | 2 +- hw/s390x/s390-virtio.c | 1 - pc-bios/README | 4 ---- pc-bios/s390-zipl.rom | Bin 3304 -> 0 bytes 5 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 pc-bios/s390-zipl.rom
Makefile +0 -1
@@ -400,7 +400,6 @@ efi-pcnet.rom efi-rtl8139.rom efi-virtio.rom \ qemu-icon.bmp qemu_logo_no_text.svg \ bamboo.dtb petalogix-s3adsp1800.dtb petalogix-ml605.dtb \ multiboot.bin linuxboot.bin kvmvapic.bin \ -s390-zipl.rom \ s390-ccw.img \ spapr-rtas.bin slof.bin \ palcode-clipper \
hw/s390x/ipl.c +1 -1
@@ -106,7 +106,7 @@ static void s390_ipl_realize(DeviceState *dev, Error **errp)/* Adjust ELF start address to final location */ ipl->bios_start_addr += fwbase; }else { -/* Try to load non-ELF file (e.g. s390-zipl.rom) */ +/* Try to load non-ELF file (e.g. s390-ccw.rom) */ bios_size =load_image_targphys (bios_filename,ZIPL_IMAGE_START ,4096 ); ipl->bios_start_addr =ZIPL_IMAGE_START ;
hw/s390x/s390-virtio.c +0 -1
@@ -54,7 +54,6 @@#endif #define MAX_BLK_DEVS 10 -#define ZIPL_FILENAME "s390-zipl.rom"#define S390_MACHINE "s390-virtio"#define TYPE_S390_MACHINE MACHINE_TYPE_NAME(S390_MACHINE)
pc-bios/README +0 -4
@@ -35,10 +35,6 @@ 10ec:8139 -> pxe-rtl8139.rom 1af4:1000 -> pxe-virtio.rom -- The S390 zipl loader is an addition to the official IBM s390-tools - package. That fork is maintained in its own git repository at: - git://repo.or.cz/s390-tools.git - - The sources for the Alpha palcode image is available from: git://github.com/rth7680/qemu-palcode.git
pc-bios/s390-zipl.rom deleted binary +0 -0
Signature · 1 line
2.1.4
Quoted 8 lines · Michael Tokarev
This is an s390 boot rom which was used in s390-virtio machine. but since commit
3538fb6f89dd9bb2e7e59de2bfad52a45321c744"s390x: remove s390-virtio machine", this file isn't used. The only place it is referenced in the code is an unused which I'm modifying too, to refer to s390-ccw.rom instead.Cc Pierre Morel <[email protected]>Signed-off-by Michael Tokarev <[email protected]>
a minor nit below, otherwise
Quoted 26 lines
--- Makefile | 1 - hw/s390x/ipl.c | 2 +- hw/s390x/s390-virtio.c | 1 - pc-bios/README | 4 ---- pc-bios/s390-zipl.rom | Bin 3304 -> 0 bytes 5 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 pc-bios/s390-zipl.romMakefile +0
-1@@ -400,7 +400,6 @@ efi-pcnet.rom efi-rtl8139.rom efi-virtio.rom \ qemu-icon.bmp qemu_logo_no_text.svg \ bamboo.dtb petalogix-s3adsp1800.dtb petalogix-ml605.dtb \ multiboot.bin linuxboot.bin kvmvapic.bin \ -s390-zipl.rom \ s390-ccw.img \ spapr-rtas.bin slof.bin \ palcode-clipper \hw/s390x/ipl.c +0
-0
hw/s390x/ipl.c static void s390_ipl_realize(DeviceState *dev, Error **errp) · line 109
Quoted 5 lines
hw/s390x/ipl.c +1
-1@@ -106,7 +106,7 @@ static void s390_ipl_realize(DeviceState *dev, Error **errp)/* Adjust ELF start address to final location */ ipl->bios_start_addr += fwbase; }else { -/* Try to load non-ELF file (e.g. s390-zipl.rom) */ +/* Try to load non-ELF file (e.g. s390-ccw.rom) */
s390-ccw.img
Quoted 7 lines · Christian Borntraeger
Quoted 6 lines · Michael Tokarev
This is an s390 boot rom which was used in s390-virtio machine. but since commit
3538fb6f89dd9bb2e7e59de2bfad52a45321c744"s390x: remove s390-virtio machine", this file isn't used. The only place it is referenced in the code is an unused which I'm modifying too, to refer to s390-ccw.rom instead.
Quoted 5 lines
Quoted 2 lines
Cc Pierre Morel <[email protected]>Signed-off-by Michael Tokarev <[email protected]>a minor nit below, otherwise
Fixed in git, that one and the commit comment (sent a v2).
Thanks,
/mjt
Quoted 39 lines · Christian Borntraeger
Quoted 8 lines · Michael Tokarev
This is an s390 boot rom which was used in s390-virtio machine. but since commit
3538fb6f89dd9bb2e7e59de2bfad52a45321c744"s390x: remove s390-virtio machine", this file isn't used. The only place it is referenced in the code is an unused which I'm modifying too, to refer to s390-ccw.rom instead.Cc Pierre Morel <[email protected]>Signed-off-by Michael Tokarev <[email protected]>a minor nit below, otherwise
Quoted 25 lines
--- Makefile | 1 - hw/s390x/ipl.c | 2 +- hw/s390x/s390-virtio.c | 1 - pc-bios/README | 4 ---- pc-bios/s390-zipl.rom | Bin 3304 -> 0 bytes 5 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 pc-bios/s390-zipl.romMakefile +0
-1@@ -400,7 +400,6 @@ efi-pcnet.rom efi-rtl8139.rom efi-virtio.rom \ qemu-icon.bmp qemu_logo_no_text.svg \ bamboo.dtb petalogix-s3adsp1800.dtb petalogix-ml605.dtb \ multiboot.bin linuxboot.bin kvmvapic.bin \ -s390-zipl.rom \ s390-ccw.img \ spapr-rtas.bin slof.bin \ palcode-clipper \hw/s390x/ipl.c +0
-0
Quoted 8 lines
hw/s390x/ipl.c static void s390_ipl_realize(DeviceState *dev, Error **errp) · line 109
Quoted 6 lines
hw/s390x/ipl.c +1
-1@@ -106,7 +106,7 @@ static void s390_ipl_realize(DeviceState *dev, Error **errp)/* Adjust ELF start address to final location */ ipl->bios_start_addr += fwbase; }else { -/* Try to load non-ELF file (e.g. s390-zipl.rom) */ +/* Try to load non-ELF file (e.g. s390-ccw.rom) */ s390-ccw.img
Actually, s390-ccw.img is an ELF file, so this is a bad example for the above comment. Maybe it would be better to simply remove the parenthesis with the example instead?
Thomas
Quoted 49 lines · Thomas Huth
Quoted 39 lines · Christian Borntraeger
Quoted 8 lines · Michael Tokarev
This is an s390 boot rom which was used in s390-virtio machine. but since commit
3538fb6f89dd9bb2e7e59de2bfad52a45321c744"s390x: remove s390-virtio machine", this file isn't used. The only place it is referenced in the code is an unused which I'm modifying too, to refer to s390-ccw.rom instead.Cc Pierre Morel <[email protected]>Signed-off-by Michael Tokarev <[email protected]>a minor nit below, otherwise
Quoted 25 lines
--- Makefile | 1 - hw/s390x/ipl.c | 2 +- hw/s390x/s390-virtio.c | 1 - pc-bios/README | 4 ---- pc-bios/s390-zipl.rom | Bin 3304 -> 0 bytes 5 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 pc-bios/s390-zipl.romMakefile +0
-1@@ -400,7 +400,6 @@ efi-pcnet.rom efi-rtl8139.rom efi-virtio.rom \ qemu-icon.bmp qemu_logo_no_text.svg \ bamboo.dtb petalogix-s3adsp1800.dtb petalogix-ml605.dtb \ multiboot.bin linuxboot.bin kvmvapic.bin \ -s390-zipl.rom \ s390-ccw.img \ spapr-rtas.bin slof.bin \ palcode-clipper \hw/s390x/ipl.c +0
-0Quoted 8 lines
hw/s390x/ipl.c static void s390_ipl_realize(DeviceState *dev, Error **errp) · line 109
Quoted 6 lines
hw/s390x/ipl.c +1
-1@@ -106,7 +106,7 @@ static void s390_ipl_realize(DeviceState *dev, Error **errp)/* Adjust ELF start address to final location */ ipl->bios_start_addr += fwbase; }else { -/* Try to load non-ELF file (e.g. s390-zipl.rom) */ +/* Try to load non-ELF file (e.g. s390-ccw.rom) */ s390-ccw.img
Quoted 3 lines
Actually, s390-ccw.img is an ELF file, so this is a bad example for the above comment. Maybe it would be better to simply remove the parenthesis with the example instead?
... or even remove that else-branch completely since it is now not necessary anymore? The ccw machine should always use an ELF image as firmware, shouldn't it?
Thomas
Quoted 50 lines · Thomas Huth
Quoted 49 lines · Thomas Huth
Quoted 47 lines · Christian Borntraeger
Quoted 8 lines · Michael Tokarev
This is an s390 boot rom which was used in s390-virtio machine. but since commit
3538fb6f89dd9bb2e7e59de2bfad52a45321c744"s390x: remove s390-virtio machine", this file isn't used. The only place it is referenced in the code is an unused which I'm modifying too, to refer to s390-ccw.rom instead.Cc Pierre Morel <[email protected]>Signed-off-by Michael Tokarev <[email protected]>a minor nit below, otherwise
Quoted 26 lines
--- Makefile | 1 - hw/s390x/ipl.c | 2 +- hw/s390x/s390-virtio.c | 1 - pc-bios/README | 4 ---- pc-bios/s390-zipl.rom | Bin 3304 -> 0 bytes 5 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 pc-bios/s390-zipl.romMakefile +0
-1@@ -400,7 +400,6 @@ efi-pcnet.rom efi-rtl8139.rom efi-virtio.rom \ qemu-icon.bmp qemu_logo_no_text.svg \ bamboo.dtb petalogix-s3adsp1800.dtb petalogix-ml605.dtb \ multiboot.bin linuxboot.bin kvmvapic.bin \ -s390-zipl.rom \ s390-ccw.img \ spapr-rtas.bin slof.bin \ palcode-clipper \hw/s390x/ipl.c +0
-0hw/s390x/ipl.c static void s390_ipl_realize(DeviceState *dev, Error **errp) · line 109
Quoted 5 lines
hw/s390x/ipl.c +1
-1@@ -106,7 +106,7 @@ static void s390_ipl_realize(DeviceState *dev, Error **errp)/* Adjust ELF start address to final location */ ipl->bios_start_addr += fwbase; }else { -/* Try to load non-ELF file (e.g. s390-zipl.rom) */ +/* Try to load non-ELF file (e.g. s390-ccw.rom) */ s390-ccw.img
Quoted 4 lines
Quoted 4 lines
Actually, s390-ccw.img is an ELF file, so this is a bad example for the above comment.
Maybe it would be better to simply remove the parenthesis with the example instead?
Right, so better completely remove the file name.
Quoted 3 lines
... or even remove that else-branch completely since it is now not necessary anymore? The ccw machine should always use an ELF image as firmware, shouldn't it?
Please keep it. The use can specify a bios on the command line and maybe this helps to test some odd-ball scenario.