summaryrefslogtreecommitdiff
path: root/target-s390x/translate.c
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2011-12-29 23:10:26 +0000
committerAlexander Graf <agraf@suse.de>2012-03-05 19:51:18 +0100
commit1edb493490c5cb1eb5ddd55ba498dfb5f008050c (patch)
tree67107a1b15224007fef6691922fd32be9ceeab8e /target-s390x/translate.c
parent2aeabc08179553e1a7eed6cf26286c3efc06ee0b (diff)
downloadqemu-1edb493490c5cb1eb5ddd55ba498dfb5f008050c.tar.gz
s390: Rework kernel loading: supports elf and newer kernels
This reworks the image loading on s390. Newer kernels will not always have a 0dd0 (basr 13,0) at address 0x10000. We must not rely on specific code at certain addresses. This check was introduced to warn users that tried to load vmlinux, since ELF loading was not supported. Lets wire that up. If elf loading fails, we assume that this is a standard kernel image and load that via load_image_targphys. This patch also changes all other users of load_image to load_image_targphys to be consistent. (the elf loader registers the kernel as rom). Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-s390x/translate.c')
0 files changed, 0 insertions, 0 deletions