Skip to content

KVM: x86: vcpu_idx related cleanups

Sean Christopherson kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: x86: Query vcpu->vcpu_idx directly and drop its accessorarch/x86/kvm/hyperv.c arch/x86/kvm/hyperv.h include/linux/kvm_host.h+4 -102 replies
2/2KVM: x86: Identify vCPU0 by its vcpu_idx instead of walking vCPUs arrayarch/x86/kvm/x86.c+1 -15 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJim MattsonMaxim LevitskyVitaly Kuznetsov
1/2R-b R-b
2/2R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [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(-)
Signature · 1 line
2.33.0.309.g3052b89438-goog