public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [mq]: fix-kvm-init.diff
@ 2008-11-10 12:23 Ehrhardt Christian
  2008-11-10 12:56 ` Christian Ehrhardt
  0 siblings, 1 reply; 2+ messages in thread
From: Ehrhardt Christian @ 2008-11-10 12:23 UTC (permalink / raw)
  To: kvm-u79uwXL29TY76Z2rM5mHXA, avi-H+wXaHxf7aLQT0dZR+AlfA
  Cc: ehrhardt-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8,
	kvm-ppc-u79uwXL29TY76Z2rM5mHXA

diff --git a/qemu/target-ppc/helper.c b/qemu/target-ppc/helper.c
--- a/qemu/target-ppc/helper.c
+++ b/qemu/target-ppc/helper.c
@@ -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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] [mq]: fix-kvm-init.diff
  2008-11-10 12:23 [PATCH] [mq]: fix-kvm-init.diff Ehrhardt Christian
@ 2008-11-10 12:56 ` Christian Ehrhardt
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Ehrhardt @ 2008-11-10 12:56 UTC (permalink / raw)
  To: kvm-u79uwXL29TY76Z2rM5mHXA, avi-H+wXaHxf7aLQT0dZR+AlfA
  Cc: kvm-ppc-u79uwXL29TY76Z2rM5mHXA

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

Ehrhardt Christian wrote:
> diff --git a/qemu/target-ppc/helper.c b/qemu/target-ppc/helper.c
> --- a/qemu/target-ppc/helper.c
> +++ b/qemu/target-ppc/helper.c
> @@ -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;
>  }
>
>   


-- 

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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-10 12:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-10 12:23 [PATCH] [mq]: fix-kvm-init.diff Ehrhardt Christian
2008-11-10 12:56 ` Christian Ehrhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox