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)
commite90e51d5f01d2baae5dcce280866bbb96816e978
tree5f681d2760b84da951da182382994ae0b29c9922
parentc9d61dcb0bc26a761dc84a87bd8a0d3b3c432f10
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