[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] tcg: fix x86 compilation with !CONFIG_TCG
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH] tcg: fix x86 compilation with !CONFIG_TCG |
Date: |
Thu, 26 Oct 2017 10:18:19 +0200 |
This commit:
commit 55c3ceef61fcf06fc98ddc752b7cce788ce7680b
Author: Richard Henderson <address@hidden>
Date: Sun Oct 15 19:02:42 2017 -0700
qom: Introduce CPUClass.tcg_initialize
Brocke compilation without CONFIG_TCG
Signed-off-by: Juan Quintela <address@hidden>
CC: Richard Henderson <address@hidden>
---
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
- [Qemu-devel] [PATCH] tcg: fix x86 compilation with !CONFIG_TCG,
Juan Quintela <=