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

Anthony Liguori
2009-04-29T21:20:56Z

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 --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);
--
1.6.0.6