]> Git Repo - qemu.git/commitdiff
target-ppc: Suppress TCG instruction emulation warnings for qtest
authorAndreas Färber <[email protected]>
Mon, 29 Jul 2013 14:05:29 +0000 (16:05 +0200)
committerAnthony Liguori <[email protected]>
Tue, 30 Jul 2013 23:48:22 +0000 (18:48 -0500)
Signed-off-by: Andreas Färber <[email protected]>
Reviewed-by: Anthony Liguori <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
Message-id: 1375106733[email protected]
Signed-off-by: Anthony Liguori <[email protected]>
target-ppc/translate_init.c

index 0724226dd633f58c074a9cf454b960ea94ab9400..b14aec8e7b3c9169fe61473ec6328dcda35fa5ce 100644 (file)
@@ -7825,7 +7825,7 @@ static void ppc_cpu_realizefn(DeviceState *dev, Error **errp)
             error_setg(errp, "Unable to virtualize selected CPU with KVM");
             return;
         }
-    } else {
+    } else if (tcg_enabled()) {
         if (ppc_fixup_cpu(cpu) != 0) {
             error_setg(errp, "Unable to emulate selected CPU with TCG");
             return;
This page took 0.026847 seconds and 4 git commands to generate.