mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
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>
This commit is contained in:
parent
748a680b96
commit
d31ae052a9
1 changed files with 2 additions and 2 deletions
4
cpus.c
4
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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue