* [Qemu-devel] [PATCH] tcg: fix x86 compilation with !CONFIG_TCG
@ 2017-10-26  8:18 Juan Quintela
  2017-10-26  9:52 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Juan Quintela @ 2017-10-26  8:18 UTC (permalink / raw)
  To: qemu-devel; +Cc: dgilbert, lvivier, peterx, Richard Henderson
This commit:
commit 55c3ceef61fcf06fc98ddc752b7cce788ce7680b
Author: Richard Henderson <richard.henderson@linaro.org>
Date:   Sun Oct 15 19:02:42 2017 -0700
    qom: Introduce CPUClass.tcg_initialize
Brocke compilation without CONFIG_TCG
Signed-off-by: Juan Quintela <quintela@redhat.com>
CC: Richard Henderson <richard.henderson@linaro.org>
---
 target/i386/cpu.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 53ec94ac9b..100a55688f 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -4212,7 +4212,9 @@ static void x86_cpu_common_class_init(ObjectClass *oc, void *data)
 #endif
     cc->cpu_exec_enter = x86_cpu_exec_enter;
     cc->cpu_exec_exit = x86_cpu_exec_exit;
+#ifdef CONFIG_TCG
     cc->tcg_initialize = tcg_x86_init;
+#endif 
 
     dc->user_creatable = true;
 }
-- 
2.13.6
^ permalink raw reply related	[flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] tcg: fix x86 compilation with !CONFIG_TCG
  2017-10-26  8:18 [Qemu-devel] [PATCH] tcg: fix x86 compilation with !CONFIG_TCG Juan Quintela
@ 2017-10-26  9:52 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2017-10-26  9:52 UTC (permalink / raw)
  To: Juan Quintela, qemu-devel; +Cc: dgilbert, lvivier, peterx
On 10/26/2017 10:18 AM, Juan Quintela wrote:
> This commit:
> 
> commit 55c3ceef61fcf06fc98ddc752b7cce788ce7680b
> Author: Richard Henderson <richard.henderson@linaro.org>
> Date:   Sun Oct 15 19:02:42 2017 -0700
> 
>     qom: Introduce CPUClass.tcg_initialize
> 
> Brocke compilation without CONFIG_TCG
> 
> Signed-off-by: Juan Quintela <quintela@redhat.com>
> CC: Richard Henderson <richard.henderson@linaro.org>
> ---
>  target/i386/cpu.c | 2 ++
>  1 file changed, 2 insertions(+)
Oops.  I'm sure the other --disable-tcg hosts are affected as well.
But as far as it goes,
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
^ permalink raw reply	[flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-26  9:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-26  8:18 [Qemu-devel] [PATCH] tcg: fix x86 compilation with !CONFIG_TCG Juan Quintela
2017-10-26  9:52 ` Richard Henderson
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).