|
@@ -49,6 +49,7 @@
|
|
|
#include "hw/sysbus.h" /* SysBusDevice */
|
|
|
#include "qemu/host-utils.h"
|
|
|
#include "sysemu/qtest.h"
|
|
|
+#include "qemu/error-report.h"
|
|
|
|
|
|
//#define DEBUG_BOARD_INIT
|
|
|
|
|
@@ -1008,9 +1009,9 @@ void mips_malta_init(QEMUMachineInitArgs *args)
|
|
|
}
|
|
|
if ((bios_size < 0 || bios_size > BIOS_SIZE) &&
|
|
|
!kernel_filename && !qtest_enabled()) {
|
|
|
- fprintf(stderr,
|
|
|
- "qemu: Warning, could not load MIPS bios '%s', and no -kernel argument was specified\n",
|
|
|
- bios_name);
|
|
|
+ error_report("Could not load MIPS bios '%s', and no "
|
|
|
+ "-kernel argument was specified", bios_name);
|
|
|
+ exit(1);
|
|
|
}
|
|
|
}
|
|
|
/* In little endian mode the 32bit words in the bios are swapped,
|