[PATCH 0/2] KVM: x86: vcpu_idx related cleanups
From: Sean Christopherson
Date: Fri Sep 10 2021 - 14:32:27 EST
Drop KVM's obsolete kvm_vcpu_get_idx() wrapper, and use vcpu_idx to
identify vCPU0 when updating guest time.
Sean Christopherson (2):
KVM: x86: Query vcpu->vcpu_idx directly and drop its accessor
KVM: x86: Identify vCPU0 by its vcpu_idx instead of walking vCPUs
array
arch/x86/kvm/hyperv.c | 7 +++----
arch/x86/kvm/hyperv.h | 2 +-
arch/x86/kvm/x86.c | 2 +-
include/linux/kvm_host.h | 5 -----
4 files changed, 5 insertions(+), 11 deletions(-)
--
2.33.0.309.g3052b89438-goog