aboutsummaryrefslogtreecommitdiff
path: root/qemu-char.c
diff options
context:
space:
mode:
authorMaxim Samoylov <max7255@linux.vnet.ibm.com>2015-10-12 17:50:20 +0200
committerCornelia Huck <cornelia.huck@de.ibm.com>2015-11-11 17:21:39 +0100
commit869648e87eeb998cc0ede230f3b7aabfdf0eb2dd (patch)
tree2a2d75a4c23ec8ac747defaf0ddad4d4b686454a /qemu-char.c
parentba21f0cca8165c5b284274edd12dc955cf4fb248 (diff)
downloadqemu-869648e87eeb998cc0ede230f3b7aabfdf0eb2dd.zip
qemu-869648e87eeb998cc0ede230f3b7aabfdf0eb2dd.tar.gz
qemu-869648e87eeb998cc0ede230f3b7aabfdf0eb2dd.tar.bz2
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>
Diffstat (limited to 'qemu-char.c')
0 files changed, 0 insertions, 0 deletions