diff mbox

[05/21] Remove extra call to kvm_cpu_exec()

Message ID 1241040038-17183-6-git-send-email-aliguori@us.ibm.com (mailing list archive)
State New, archived
Headers show

Commit Message

Anthony Liguori April 29, 2009, 9:20 p.m. UTC
It's just duplicated code now since we do the same thing in upstream.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
---
 cpu-exec.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
diff mbox

Patch

diff --git a/cpu-exec.c b/cpu-exec.c
index bb77b5e..f959f4e 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -347,12 +347,6 @@  int cpu_exec(CPUState *env1)
             }
 #endif
 
-            /* kvm vcpu threads */
-            if (kvm_enabled()) {
-                kvm_cpu_exec(env);
-                longjmp(env->jmp_env, 1);
-            }
-
             if (kvm_enabled()) {
                 kvm_cpu_exec(env);
                 longjmp(env->jmp_env, 1);