Skip to contentSkip to conversation

: fix-kvm-init.diff

PATCH In review Ehrhardt Christian 1 participant 2 messages Nov 10, 2008 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : fix-kvm-init.diff

qemu/target-ppc/helper.c +1 -3
@@ -2959,10 +2959,8 @@
     env->cpu_model_str = cpu_model;
     cpu_ppc_register_internal(env, def);
     cpu_ppc_reset(env);
-#ifdef USE_KVM
     if (kvm_enabled())
-	kvm_init_new_ap(env->cpu_index, env);
-#endif
+	kvm_init_vcpu(env);
     return env;
 }
 

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw

sorry - this should actually have some description ... I'll resend it with one as soon as I find the issue why it is missing

Quoted 16 lines · Ehrhardt Christian
qemu/target-ppc/helper.c +1 -3
@@ -2959,10 +2959,8 @@
     env->cpu_model_str = cpu_model;
     cpu_ppc_register_internal(env, def);
     cpu_ppc_reset(env);
-#ifdef USE_KVM
     if (kvm_enabled())
-	kvm_init_new_ap(env->cpu_index, env);
-#endif
+	kvm_init_vcpu(env);
     return env;
 }
 
Signature · 7 lines
Grüsse / regards, Christian Ehrhardt
IBM Linux Technology Center, Open Virtualization

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html