mirror_qemu/pc-bios/s390-ccw
Maxim Samoylov 869648e87e pc-bios/s390-ccw: El Torito 16-bit boot image size field workaround
Because of El Torito spec flaw boot image size needs to be verified.

Boot catalog entry size field has 16-bit width, and specifies size
in 512-byte units.

Thus, boot image size cannot exceed 32M.

We actually search for the file to get the file size.

This is done by scanning the ISO directory tree for the ISO block number
and reading the file size from the directory entry.

Signed-off-by: Maxim Samoylov <max7255@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
2015-11-11 17:21:39 +01:00
..
Makefile pc-bios/s390-ccw: avoid floating point operations 2015-10-02 13:31:52 +02:00
bootmap.c pc-bios/s390-ccw: El Torito 16-bit boot image size field workaround 2015-11-11 17:21:39 +01:00
bootmap.h pc-bios/s390-ccw: El Torito 16-bit boot image size field workaround 2015-11-11 17:21:39 +01:00
cio.h s390/IPL: Allow boot from other ssid than 0 2013-07-29 12:02:00 +02:00
main.c pc-bios/s390-ccw: Device detection in higher subchannel sets 2015-09-07 16:10:43 +02:00
s390-ccw.h s390-ccw.img: Consume service interrupts 2015-06-30 09:34:58 +02:00
sclp-ascii.c s390-ccw.img: Consume service interrupts 2015-06-30 09:34:58 +02:00
sclp.h S390: ccw firmware: Add sclp output 2013-04-26 20:18:24 +02:00
start.S s390-ccw.img: Consume service interrupts 2015-06-30 09:34:58 +02:00
virtio.c pc-bios/s390-ccw: ISO-9660 El Torito boot implementation 2015-11-11 17:21:39 +01:00
virtio.h pc-bios/s390-ccw: ISO-9660 El Torito boot implementation 2015-11-11 17:21:39 +01:00