mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-14 17:19:36 +00: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
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_mutex_lock(&qemu_global_mutex);
|
||||||
qemu_thread_self(env->thread);
|
qemu_thread_self(env->thread);
|
||||||
if (kvm_enabled())
|
|
||||||
kvm_init_vcpu(env);
|
kvm_init_vcpu(env);
|
||||||
|
|
||||||
kvm_init_ipi(env);
|
kvm_init_ipi(env);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user