qemu-e2k/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
..
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
main.c pc-bios/s390-ccw: Device detection in higher subchannel sets 2015-09-07 16:10:43 +02:00
Makefile pc-bios/s390-ccw: avoid floating point operations 2015-10-02 13:31:52 +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
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