mirror of https://github.com/xemu-project/xemu.git
mips_malta: Silence BIOS loading warning for qtest
Signed-off-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Andreas Färber <afaerber@suse.de> Message-id: 1375106733-832-4-git-send-email-afaerber@suse.de Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
4a7ed999a7
commit
2c57bd9b06
|
@ -48,6 +48,7 @@
|
||||||
#include "exec/address-spaces.h"
|
#include "exec/address-spaces.h"
|
||||||
#include "hw/sysbus.h" /* SysBusDevice */
|
#include "hw/sysbus.h" /* SysBusDevice */
|
||||||
#include "qemu/host-utils.h"
|
#include "qemu/host-utils.h"
|
||||||
|
#include "sysemu/qtest.h"
|
||||||
|
|
||||||
//#define DEBUG_BOARD_INIT
|
//#define DEBUG_BOARD_INIT
|
||||||
|
|
||||||
|
@ -1005,7 +1006,8 @@ void mips_malta_init(QEMUMachineInitArgs *args)
|
||||||
} else {
|
} else {
|
||||||
bios_size = -1;
|
bios_size = -1;
|
||||||
}
|
}
|
||||||
if ((bios_size < 0 || bios_size > BIOS_SIZE) && !kernel_filename) {
|
if ((bios_size < 0 || bios_size > BIOS_SIZE) &&
|
||||||
|
!kernel_filename && !qtest_enabled()) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"qemu: Warning, could not load MIPS bios '%s', and no -kernel argument was specified\n",
|
"qemu: Warning, could not load MIPS bios '%s', and no -kernel argument was specified\n",
|
||||||
bios_name);
|
bios_name);
|
||||||
|
|
Loading…
Reference in New Issue