s390/ipl: Fix error path on BIOS loading
authorChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 14 Mar 2014 12:38:57 +0000 (13:38 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 17 Mar 2014 21:01:19 +0000 (22:01 +0100)
commit0a1bec8a4e1c55bb581521c60db30e3f4867ceb1
tree85f61c5753757bf8aaecd1af4b57885e9b900d19
parent087edb503afebf184f07078900efc26c73035e98
s390/ipl: Fix error path on BIOS loading

commit 18674b26788a9e47f1157170234e32ece2044367
(elf-loader: add more return codes) enabled the elf loader to return
other errors than -1.

Lets also handle that case for our "BIOS" on s390.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
CC: Alexey Kardashevskiy <aik@ozlabs.ru>
CC: Alexander Graf <agraf@suse.de>
hw/s390x/ipl.c