Skip to content

KVM: x86: Kill off pdptrs_changed()

Sean Christopherson kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4KVM: nVMX: Drop obsolete (and pointless) pdptrs_changed() checkarch/x86/kvm/vmx/nested.c+3 -50 replies
2/4KVM: nSVM: Drop pointless pdptrs_changed() check on nested transitionarch/x86/kvm/svm/nested.c+2 -40 replies
3/4KVM: x86: Always load PDPTRs on CR3 load for SVM w/o NPT and a PAE guestarch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c+2 -330 replies
4/4KVM: x86: Unexport kvm_read_guest_page_mmu()arch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c+3 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] KVM: x86: Kill off pdptrs_changed()

Remove pdptrs_changed(), which is mostly dead anyways, and the few bits that are still thrashing are useless.

This conflicts with Maxim's work to migrate PDPTRs out-of-band, but I think it will conflict in a good way as the "skip load_pdptrs()" logic for the out-of-band case won't have to juggle this legacy crud.

Sean Christopherson (4):
KVM: nVMX: Drop obsolete (and pointless) pdptrs_changed() check
KVM: nSVM: Drop pointless pdptrs_changed() check on nested transition
KVM: x86: Always load PDPTRs on CR3 load for SVM w/o NPT and a PAE
guest
KVM: x86: Unexport kvm_read_guest_page_mmu()

 arch/x86/include/asm/kvm_host.h |  4 ----
 arch/x86/kvm/svm/nested.c       |  6 ++---
 arch/x86/kvm/vmx/nested.c       |  8 +++----
 arch/x86/kvm/x86.c              | 41 ++++-----------------------------
 4 files changed, 10 insertions(+), 49 deletions(-)
Signature · 1 line
2.31.1.498.g6c1eba8ee3d-goog