mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
mips: revert commit b332d24a8e
Now that this code path is not triggered anymore during the tests,
revert commit b332d24a8e. Booting a MIPS
target without kernel nor bios doesn't really make sense. At the same
time replace fprintf(stderr, ...) by error_report().
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
#include "hw/sysbus.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "sysemu/qtest.h"
|
||||
#include "qemu/error-report.h"
|
||||
|
||||
enum jazz_model_e
|
||||
{
|
||||
@@ -178,8 +179,8 @@ static void mips_jazz_init(MemoryRegion *address_space,
|
||||
bios_size = -1;
|
||||
}
|
||||
if ((bios_size < 0 || bios_size > MAGNUM_BIOS_SIZE) && !qtest_enabled()) {
|
||||
fprintf(stderr, "qemu: Warning, could not load MIPS bios '%s'\n",
|
||||
bios_name);
|
||||
error_report("Could not load MIPS bios '%s'", bios_name);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
/* Init CPU internal devices */
|
||||
|
||||
Reference in New Issue
Block a user