KVM: Add helpers to wake/query blocking vCPU
authorSean Christopherson <seanjc@google.com>
Sat, 9 Oct 2021 02:12:12 +0000 (19:12 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Dec 2021 09:24:54 +0000 (04:24 -0500)
commitd92a5d1c6c757f659ffb9c2c2e65fcf3d571c14e
treed3663182b39a92132372e69e97031f17c19f08d5
parentcdafece4b964a27b2d3d76bf5725b49415bbaaea
KVM: Add helpers to wake/query blocking vCPU

Add helpers to wake and query a blocking vCPU.  In addition to providing
nice names, the helpers reduce the probability of KVM neglecting to use
kvm_arch_vcpu_get_wait().

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20211009021236.4122790-20-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/arm64/kvm/arch_timer.c
arch/arm64/kvm/arm.c
arch/x86/kvm/lapic.c
include/linux/kvm_host.h
virt/kvm/async_pf.c
virt/kvm/kvm_main.c