提交 4a7ed999 编写于 作者: A Andreas Färber 提交者: Anthony Liguori

mips_fulong2e: Silence BIOS loading warning for qtest

Signed-off-by: NAndreas Färber <afaerber@suse.de>
Reviewed-by: NAnthony Liguori <aliguori@us.ibm.com>
Signed-off-by: NAndreas Färber <afaerber@suse.de>
Message-id: 1375106733-832-3-git-send-email-afaerber@suse.de
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 96b3bfa0
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
#include "hw/timer/i8254.h" #include "hw/timer/i8254.h"
#include "sysemu/blockdev.h" #include "sysemu/blockdev.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "sysemu/qtest.h"
#define DEBUG_FULONG2E_INIT #define DEBUG_FULONG2E_INIT
...@@ -332,7 +333,8 @@ static void mips_fulong2e_init(QEMUMachineInitArgs *args) ...@@ -332,7 +333,8 @@ static void mips_fulong2e_init(QEMUMachineInitArgs *args)
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, "qemu: Warning, could not load MIPS bios '%s'\n", bios_name); fprintf(stderr, "qemu: Warning, could not load MIPS bios '%s'\n", bios_name);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册