summary refs log tree commit diff stats
path: root/scripts/qapi-types.py
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 /scripts/qapi-types.py
parent2aeabc08179553e1a7eed6cf26286c3efc06ee0b (diff)
downloadfocaccia-qemu-1edb493490c5cb1eb5ddd55ba498dfb5f008050c.tar.gz
focaccia-qemu-1edb493490c5cb1eb5ddd55ba498dfb5f008050c.zip
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 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions