]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d3125e0afcac2942d19dd7ead92a3401d67d09d
treee5212efbf4443c092c1b83a4af5b2ec95e0de307
parente5c2f68e938e92b62f14c1c0c86f7a16f7320c12
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