target-ppc: Suppress TCG instruction emulation warnings 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-2-git-send-email-afaerber@suse.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Andreas Färber 2013-07-29 16:05:29 +02:00 committed by Anthony Liguori
parent 7b7ab18d0b
commit 96b3bfa083

View File

@ -7825,7 +7825,7 @@ static void ppc_cpu_realizefn(DeviceState *dev, Error **errp)
error_setg(errp, "Unable to virtualize selected CPU with KVM"); error_setg(errp, "Unable to virtualize selected CPU with KVM");
return; return;
} }
} else { } else if (tcg_enabled()) {
if (ppc_fixup_cpu(cpu) != 0) { if (ppc_fixup_cpu(cpu) != 0) {
error_setg(errp, "Unable to emulate selected CPU with TCG"); error_setg(errp, "Unable to emulate selected CPU with TCG");
return; return;