qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: qemu-devel@nongnu.org
Cc: pbonzini@redhat.com, "open list:PowerPC" <qemu-ppc@nongnu.org>,
	"Andreas Färber" <afaerber@suse.de>,
	anthony@codemonkey.ws, "Alexander Graf" <agraf@suse.de>
Subject: [Qemu-devel] [PATCH for-1.6 1/5] target-ppc: Suppress TCG instruction emulation warnings for qtest
Date: Mon, 29 Jul 2013 16:05:29 +0200	[thread overview]
Message-ID: <1375106733-832-2-git-send-email-afaerber@suse.de> (raw)
In-Reply-To: <1375106733-832-1-git-send-email-afaerber@suse.de>

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 target-ppc/translate_init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index 8215946..4fc022d 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -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;
-- 
1.8.1.4

  reply	other threads:[~2013-07-29 14:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-29 14:05 [Qemu-devel] [PATCH for-1.6 0/5] qtest: Output cleanup Andreas Färber
2013-07-29 14:05 ` Andreas Färber [this message]
2013-07-29 14:05 ` [Qemu-devel] [PATCH for-1.6 2/5] mips_fulong2e: Silence BIOS loading warning for qtest Andreas Färber
2013-07-29 14:05 ` [Qemu-devel] [PATCH for-1.6 3/5] mips_malta: " Andreas Färber
2013-07-29 14:05 ` [Qemu-devel] [PATCH for-1.6 4/5] mips_jazz: " Andreas Färber
2013-07-29 14:05 ` [Qemu-devel] [PATCH for-1.6 5/5] mips_r4k: " Andreas Färber
2013-07-30 13:18 ` [Qemu-devel] [PATCH for-1.6 0/5] qtest: Output cleanup Anthony Liguori
2013-08-02 12:35 ` Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1375106733-832-2-git-send-email-afaerber@suse.de \
    --to=afaerber@suse.de \
    --cc=agraf@suse.de \
    --cc=anthony@codemonkey.ws \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).