KVM: Move x86 VMX's posted interrupt list_head to vcpu_vmx
authorSean Christopherson <seanjc@google.com>
Wed, 8 Dec 2021 01:52:16 +0000 (01:52 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 19 Jan 2022 17:14:38 +0000 (12:14 -0500)
commit12a8eee5686ef3ea7d8db90cd664f11e4a39e349
treee5212efbf4443c092c1b83a4af5b2ec95e0de307
parente6eec09b7bc7869a49ac0ff376415bad40030ade
KVM: Move x86 VMX's posted interrupt list_head to vcpu_vmx

Move the seemingly generic block_vcpu_list from kvm_vcpu to vcpu_vmx, and
rename the list and all associated variables to clarify that it tracks
the set of vCPU that need to be poked on a posted interrupt to the wakeup
vector.  The list is not used to track _all_ vCPUs that are blocking, and
the term "blocked" can be misleading as it may refer to a blocking
condition in the host or the guest, where as the PI wakeup case is
specifically for the vCPUs that are actively blocking from within the
guest.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20211208015236.1616697-7-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/posted_intr.c
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/vmx/vmx.h
include/linux/kvm_host.h
virt/kvm/kvm_main.c