[PATCH 08/37] kvm: Drop redundant kvm_enabled from kvm_cpu_thread_fn

Marcelo Tosatti
2011-02-14T15:24:58Z

cpus.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpus.c b/cpus.c
index 0abc009..8232d44 100644
--- a/cpus.c
+++ b/cpus.c
@@ -603,8 +603,8 @@ static void *kvm_cpu_thread_fn(void *arg)

qemu_mutex_lock(&qemu_global_mutex);
qemu_thread_self(env->thread);
- if (kvm_enabled())
- kvm_init_vcpu(env);
+
+ kvm_init_vcpu(env);

kvm_init_ipi(env);

--
1.7.4