qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 02/18] kvm: Drop redundant kvm_enabled from kvm_cpu_


From: Jan Kiszka
Subject: [Qemu-devel] [PATCH 02/18] kvm: Drop redundant kvm_enabled from kvm_cpu_thread_fn
Date: Mon, 10 Jan 2011 09:31:55 +0100

From: Jan Kiszka <address@hidden>

Signed-off-by: Jan Kiszka <address@hidden>
---
 cpus.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpus.c b/cpus.c
index 4c9928e..8af53a9 100644
--- a/cpus.c
+++ b/cpus.c
@@ -597,8 +597,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.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]