diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2021-11-30 21:17:29 +0000 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-12-06 11:57:36 +0100 |
commit | d77c462bf25001cc2ae03824a547ed761cd0c5bc (patch) | |
tree | d79d347576c386b8967e12e9a4e29758e80576e8 /nbd | |
parent | 24ade8c5decd092bde5e863bc542db45d924ae12 (diff) | |
download | qemu-d77c462bf25001cc2ae03824a547ed761cd0c5bc.zip qemu-d77c462bf25001cc2ae03824a547ed761cd0c5bc.tar.gz qemu-d77c462bf25001cc2ae03824a547ed761cd0c5bc.tar.bz2 |
hw/mips/boston: Fix load_elf() error detection
load_elf() gives negative return in case of error, not zero.
Fixes: 10e3f30ff73 ("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>
Diffstat (limited to 'nbd')
0 files changed, 0 insertions, 0 deletions