qemu-e2k/hw/mips
Aurelien Jarno 3ee3122c0d 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>
2017-07-28 13:32:32 +01:00
..
addr.c
boston.c ahci: add ahci_get_num_ports 2017-07-18 11:47:56 -04:00
cps.c error: Strip trailing '\n' from error string arguments (again) 2016-08-08 09:00:44 +02:00
cputimer.c
gt64xxx_pci.c qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable 2017-05-17 10:37:00 -03:00
Makefile.objs hw/mips: MIPS Boston board support 2017-02-24 10:37:21 +00:00
mips_fulong2e.c hw/mips: load_elf_strerror to report kernel loading failure 2017-07-28 13:32:32 +01:00
mips_int.c
mips_jazz.c hw: Use new memory_region_init_{ram, rom, rom_device}() functions 2017-07-14 17:59:42 +01:00
mips_malta.c hw/mips: load_elf_strerror to report kernel loading failure 2017-07-28 13:32:32 +01:00
mips_mipssim.c hw/mips: load_elf_strerror to report kernel loading failure 2017-07-28 13:32:32 +01:00
mips_r4k.c hw/mips: load_elf_strerror to report kernel loading failure 2017-07-28 13:32:32 +01:00