]> 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)
commite9dd56b7c17c6eacd06f46eb7dee386425e3931d
treee5212efbf4443c092c1b83a4af5b2ec95e0de307
parent3b50b717005c49059a266ae4c686b9c5398ac2f1
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