From: Marcelo Tosatti <mtosa...@redhat.com>

Signed-off-by: Marcelo Tosatti <mtosa...@redhat.com>

diff --git a/qemu-kvm.c b/qemu-kvm.c
index bfee8bd..4c13628 100644
--- a/qemu-kvm.c
+++ b/qemu-kvm.c
@@ -853,6 +853,7 @@ void post_kvm_run(kvm_context_t kvm, CPUState *env)
 {
     pthread_mutex_lock(&qemu_mutex);
     kvm_arch_post_run(env, env->kvm_run);
+    cpu_single_env = env;
 }
 
 int pre_kvm_run(kvm_context_t kvm, CPUState *env)
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to