]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: clear vmx_x86_ops.sync_pir_to_irr if APICv is disabled
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 30 Nov 2021 12:36:41 +0000 (07:36 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 30 Nov 2021 12:40:47 +0000 (07:40 -0500)
commitc6b37814f7271a7d074d31880cbd997f8295c9d6
tree5f681d2760b84da951da182382994ae0b29c9922
parent1f700abd1d20fab42e07e2eaad6d22c3df424e73
KVM: VMX: clear vmx_x86_ops.sync_pir_to_irr if APICv is disabled

There is nothing to synchronize if APICv is disabled, since neither
other vCPUs nor assigned devices can set PIR.ON.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c