KVM: x86: Rename kvm_apic_has_events() to make it INIT/SIPI specific
authorSean Christopherson <seanjc@google.com>
Wed, 21 Sep 2022 00:31:53 +0000 (00:31 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 Sep 2022 16:37:18 +0000 (12:37 -0400)
commita61353acc574d8d81f07f156d992e14e63d06e95
tree45781325622fdff3e864a4ba4fa5051e39919d49
parent1b7a1b78d6601776cd8fed69b1e5803612184e93
KVM: x86: Rename kvm_apic_has_events() to make it INIT/SIPI specific

Rename kvm_apic_has_events() to kvm_apic_has_pending_init_or_sipi() so
that it's more obvious that "events" really just means "INIT or SIPI".

Opportunistically clean up a weirdly worded comment that referenced
kvm_apic_has_events() instead of kvm_apic_accept_events().

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220921003201.1441511-5-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.h
arch/x86/kvm/x86.c