diff options
author | Andreas Färber | 2013-07-29 16:05:30 +0200 |
---|---|---|
committer | Anthony Liguori | 2013-07-31 01:48:22 +0200 |
commit | 4a7ed999a7a5057d860b38c6680a1437945b5139 (patch) | |
tree | b5227eab532c6afc133c694ba5886c27aef6ed73 /hw/mips | |
parent | target-ppc: Suppress TCG instruction emulation warnings for qtest (diff) | |
download | qemu-4a7ed999a7a5057d860b38c6680a1437945b5139.tar.gz qemu-4a7ed999a7a5057d860b38c6680a1437945b5139.tar.xz qemu-4a7ed999a7a5057d860b38c6680a1437945b5139.zip |
mips_fulong2e: 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-3-git-send-email-afaerber@suse.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/mips')
-rw-r--r-- | hw/mips/mips_fulong2e.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/mips/mips_fulong2e.c b/hw/mips/mips_fulong2e.c index 99014415ca..b13750d0d9 100644 --- a/hw/mips/mips_fulong2e.c +++ b/hw/mips/mips_fulong2e.c @@ -43,6 +43,7 @@ #include "hw/timer/i8254.h" #include "sysemu/blockdev.h" #include "exec/address-spaces.h" +#include "sysemu/qtest.h" #define DEBUG_FULONG2E_INIT @@ -332,7 +333,8 @@ static void mips_fulong2e_init(QEMUMachineInitArgs *args) 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); } } |