[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210910183220.2397812-1-seanjc@google.com>
Date: Fri, 10 Sep 2021 11:32:18 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: Sean Christopherson <seanjc@...gle.com>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
Wanpeng Li <wanpengli@...cent.com>,
Jim Mattson <jmattson@...gle.com>,
Joerg Roedel <joro@...tes.org>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] KVM: x86: vcpu_idx related cleanups
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
Powered by blists - more mailing lists