]> git.proxmox.com Git - mirror_qemu.git/commit - hw/s390x/ipl.c
s390x/ipl: Try to detect Linux vs non Linux for initial IPL PSW
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 12 Jun 2018 12:59:33 +0000 (14:59 +0200)
committerCornelia Huck <cohuck@redhat.com>
Mon, 18 Jun 2018 08:50:32 +0000 (10:50 +0200)
commitacd7ef837d8987ad4ef2ab8f8e8c0f13ab413dd5
treef4ae981af2d3b05a6ae261e87835f60fd3f6f9fd
parentea2dd691e21f2ca4896d3a88835b52f78012801d
s390x/ipl: Try to detect Linux vs non Linux for initial IPL PSW

Right now the IPL device always starts from address 0x10000 (the usual
Linux entry point). To run other guests (e.g. test programs) it is
useful to use the IPL PSW from address 0. We can use the Linux magic
at 0x10008 to decide.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Message-Id: <20180612125933.262679-1-borntraeger@de.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/ipl.c