diff options
Diffstat (limited to 'target-ppc/helper.c')
-rw-r--r-- | target-ppc/helper.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target-ppc/helper.c b/target-ppc/helper.c index 538d9f34c4..4676d50d87 100644 --- a/target-ppc/helper.c +++ b/target-ppc/helper.c @@ -29,6 +29,7 @@ #include "exec-all.h" #include "helper_regs.h" #include "qemu-common.h" +#include "kvm.h" //#define DEBUG_MMU //#define DEBUG_BATS @@ -2920,6 +2921,10 @@ CPUPPCState *cpu_ppc_init (const char *cpu_model) env->cpu_model_str = cpu_model; cpu_ppc_register_internal(env, def); cpu_ppc_reset(env); + + if (kvm_enabled()) + kvm_init_vcpu(env); + return env; } |