diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-02-01 22:15:49 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2011-02-14 12:39:45 -0200 |
commit | d31ae052a913e8e41a9f22429c28decbdb660568 (patch) | |
tree | 58cb0762f6930f079b54bce0f527a0c2cc5b55ed /cpus.c | |
parent | 748a680b966c65cca9292ba0b9cbb6a04d063b21 (diff) | |
download | qemu-d31ae052a913e8e41a9f22429c28decbdb660568.zip qemu-d31ae052a913e8e41a9f22429c28decbdb660568.tar.gz qemu-d31ae052a913e8e41a9f22429c28decbdb660568.tar.bz2 |
kvm: Drop redundant kvm_enabled from kvm_cpu_thread_fn
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'cpus.c')
-rw-r--r-- | cpus.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |