diff options
| author | Thomas Huth | 2014-02-08 12:31:15 +0100 |
|---|---|---|
| committer | Christian Borntraeger | 2014-02-27 09:51:26 +0100 |
| commit | 7f00eb30febf1054c74b163ced984afcdbf6e670 (patch) | |
| tree | d71bbc68cc855edb7d898f42fb8542b131c6a798 /include | |
| parent | s390x/kvm: Rework priv instruction handlers (diff) | |
| download | qemu-7f00eb30febf1054c74b163ced984afcdbf6e670.tar.gz qemu-7f00eb30febf1054c74b163ced984afcdbf6e670.tar.xz qemu-7f00eb30febf1054c74b163ced984afcdbf6e670.zip | |
s390x/ipl: Fix crash of ELF images with arbitrary entry points
When loading S390 kernels, the current code expects an ELF file with the
start address 0x10000. Other ELF files cause a segmentation fault. To avoid
these crashes, we should get the start address from the ELF file instead
of always using a hard-coded address.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
