mips_jazz: 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-5-git-send-email-afaerber@suse.de Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
2c57bd9b06
commit
38c8894fe7
@ -42,6 +42,7 @@
|
|||||||
#include "sysemu/blockdev.h"
|
#include "sysemu/blockdev.h"
|
||||||
#include "hw/sysbus.h"
|
#include "hw/sysbus.h"
|
||||||
#include "exec/address-spaces.h"
|
#include "exec/address-spaces.h"
|
||||||
|
#include "sysemu/qtest.h"
|
||||||
|
|
||||||
enum jazz_model_e
|
enum jazz_model_e
|
||||||
{
|
{
|
||||||
@ -176,7 +177,7 @@ static void mips_jazz_init(MemoryRegion *address_space,
|
|||||||
} else {
|
} else {
|
||||||
bios_size = -1;
|
bios_size = -1;
|
||||||
}
|
}
|
||||||
if (bios_size < 0 || bios_size > MAGNUM_BIOS_SIZE) {
|
if ((bios_size < 0 || bios_size > MAGNUM_BIOS_SIZE) && !qtest_enabled()) {
|
||||||
fprintf(stderr, "qemu: Warning, could not load MIPS bios '%s'\n",
|
fprintf(stderr, "qemu: Warning, could not load MIPS bios '%s'\n",
|
||||||
bios_name);
|
bios_name);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user