qemu-e2k/hw/mips
Jiaxun Yang d77c462bf2 hw/mips/boston: Fix load_elf() error detection
load_elf() gives negative return in case of error, not zero.

Fixes: 10e3f30ff7 ("hw/mips/boston: Allow loading elf kernel and dtb")
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211130211729.7116-3-jiaxun.yang@flygoat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2021-12-06 11:57:36 +01:00
..
bootloader.c hw/mips/bootloader: Fix write_ulong() 2021-12-06 11:57:31 +01:00
boston.c hw/mips/boston: Fix load_elf() error detection 2021-12-06 11:57:36 +01:00
cps.c
fuloong2e.c Do not include exec/address-spaces.h if it's not really necessary 2021-05-02 17:24:51 +02:00
fw_cfg.c
fw_cfg.h
gt64xxx_pci.c Do not include exec/address-spaces.h if it's not really necessary 2021-05-02 17:24:51 +02:00
jazz.c arch_init.h: Don't include arch_init.h unnecessarily 2021-08-26 17:02:00 +01:00
Kconfig hw/mips: Express dependencies of the Boston machine with Kconfig 2021-07-20 15:18:39 +02:00
loongson3_bootp.c
loongson3_bootp.h
loongson3_virt.c Do not include exec/address-spaces.h if it's not really necessary 2021-05-02 17:24:51 +02:00
malta.c arch_init.h: Don't include arch_init.h unnecessarily 2021-08-26 17:02:00 +01:00
meson.build
mips_int.c
mipssim.c Do not include exec/address-spaces.h if it's not really necessary 2021-05-02 17:24:51 +02:00
trace-events
trace.h