diff options
author | Aurelien Jarno | 2017-07-27 01:56:13 +0200 |
---|---|---|
committer | Yongbok Kim | 2017-07-28 14:32:32 +0200 |
commit | 3ee3122c0d2614297890ded2017655fc2a139af6 (patch) | |
tree | 95b1a1d320680952eed547fce98463543a2ac619 /hw/core | |
parent | Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20170728' into staging (diff) | |
download | qemu-3ee3122c0d2614297890ded2017655fc2a139af6.tar.gz qemu-3ee3122c0d2614297890ded2017655fc2a139af6.tar.xz qemu-3ee3122c0d2614297890ded2017655fc2a139af6.zip |
hw/mips: load_elf_strerror to report kernel loading failure
Emulated MIPS boards bail out with a simple "could not load kernel" when
a kernel could not be load, without specifying the underlying reason.
Fix that by calling load_elf_strerror.
At the same time use error_report to report the error instead of
fprintf.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
Diffstat (limited to 'hw/core')
0 files changed, 0 insertions, 0 deletions