[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for-1.6 2/5] mips_fulong2e: Silence BIOS loading war
From: |
Andreas Färber |
Subject: |
[Qemu-devel] [PATCH for-1.6 2/5] mips_fulong2e: Silence BIOS loading warning for qtest |
Date: |
Mon, 29 Jul 2013 16:05:30 +0200 |
Signed-off-by: Andreas Färber <address@hidden>
---
hw/mips/mips_fulong2e.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hw/mips/mips_fulong2e.c b/hw/mips/mips_fulong2e.c
index 9901441..b13750d 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);
}
}
--
1.8.1.4
- [Qemu-devel] [PATCH for-1.6 0/5] qtest: Output cleanup, Andreas Färber, 2013/07/29
- [Qemu-devel] [PATCH for-1.6 2/5] mips_fulong2e: Silence BIOS loading warning for qtest,
Andreas Färber <=
- [Qemu-devel] [PATCH for-1.6 3/5] mips_malta: Silence BIOS loading warning for qtest, Andreas Färber, 2013/07/29
- [Qemu-devel] [PATCH for-1.6 4/5] mips_jazz: Silence BIOS loading warning for qtest, Andreas Färber, 2013/07/29
- [Qemu-devel] [PATCH for-1.6 1/5] target-ppc: Suppress TCG instruction emulation warnings for qtest, Andreas Färber, 2013/07/29
- [Qemu-devel] [PATCH for-1.6 5/5] mips_r4k: Silence BIOS loading warning for qtest, Andreas Färber, 2013/07/29
- Re: [Qemu-devel] [PATCH for-1.6 0/5] qtest: Output cleanup, Anthony Liguori, 2013/07/30