From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3o58-0004zG-Gl for qemu-devel@nongnu.org; Mon, 29 Jul 2013 10:05:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3o4z-00057y-Kz for qemu-devel@nongnu.org; Mon, 29 Jul 2013 10:05:50 -0400 Received: from cantor2.suse.de ([195.135.220.15]:41369 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3o4z-00057S-DQ for qemu-devel@nongnu.org; Mon, 29 Jul 2013 10:05:41 -0400 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Mon, 29 Jul 2013 16:05:32 +0200 Message-Id: <1375106733-832-5-git-send-email-afaerber@suse.de> In-Reply-To: <1375106733-832-1-git-send-email-afaerber@suse.de> References: <1375106733-832-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH for-1.6 4/5] mips_jazz: Silence BIOS loading warning for qtest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, Aurelien Jarno , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , =?UTF-8?q?Andreas=20F=C3=A4rber?= , anthony@codemonkey.ws Signed-off-by: Andreas F=C3=A4rber --- hw/mips/mips_jazz.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/mips/mips_jazz.c b/hw/mips/mips_jazz.c index d6e0860..36677cc 100644 --- a/hw/mips/mips_jazz.c +++ b/hw/mips/mips_jazz.c @@ -42,6 +42,7 @@ #include "sysemu/blockdev.h" #include "hw/sysbus.h" #include "exec/address-spaces.h" +#include "sysemu/qtest.h" =20 enum jazz_model_e { @@ -176,7 +177,7 @@ static void mips_jazz_init(MemoryRegion *address_spac= e, } else { bios_size =3D -1; } - if (bios_size < 0 || bios_size > MAGNUM_BIOS_SIZE) { + if ((bios_size < 0 || bios_size > MAGNUM_BIOS_SIZE) && !qtest_enable= d()) { fprintf(stderr, "qemu: Warning, could not load MIPS bios '%s'\n"= , bios_name); } --=20 1.8.1.4