]> git.proxmox.com Git - mirror_qemu.git/commit
milkymist: Check for failure trying to load BIOS image
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 6 Nov 2018 11:32:14 +0000 (11:32 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 6 Nov 2018 11:32:14 +0000 (11:32 +0000)
commit40af11eb7f80aac6c45d75e4fa6fa71ff930c651
tree89c9b1f661b7f88ec136870e6d9bb5734eb94fda
parentf6c98f91f56031141a47f86225fdc30f0f9f84fb
milkymist: Check for failure trying to load BIOS image

Check the return value from load_image_targphys(), which tells us
whether our attempt to load the BIOS image into RAM failed.
(Spotted by Coverity, CID 1190305.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Michael Walle <michael@walle.cc>
Message-id: 20181030170032.1844-1-peter.maydell@linaro.org
hw/lm32/milkymist.c