summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-04-29 16:20:22 -0500
committerAvi Kivity <avi@redhat.com>2009-04-30 12:47:38 +0300
commitde5ae0ab9b1876226267f5b583adf4b293fd74d3 (patch)
treee1af908210ffc493b0d81f6f0259637ff3bf837b /cpu-exec.c
parentRemove stray whitespace (diff)
downloadqemu-kvm-de5ae0ab9b1876226267f5b583adf4b293fd74d3.tar.gz
qemu-kvm-de5ae0ab9b1876226267f5b583adf4b293fd74d3.tar.bz2
qemu-kvm-de5ae0ab9b1876226267f5b583adf4b293fd74d3.zip
Remove extra call to kvm_cpu_exec()
It's just duplicated code now since we do the same thing in upstream. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'cpu-exec.c')
-rw-r--r--cpu-exec.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index bb77b5e8c..f959f4edb 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);