Skip to content

KVM: a bunch of fixes

Paolo Bonzini kvm lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSMarch/x86/kvm/svm/nested.c arch/x86/kvm/svm/svm.c arch/x86/kvm/svm/svm.h+20 -70 replies
2/7KVM: x86/mmu: Conditionally resched when retrying gPTE walk on A/D update failurearch/x86/kvm/mmu/paging_tmpl.h+10 -10 replies
3/7KVM: x86: Conditionally resched when restarting REP string emulationarch/x86/kvm/x86.c+4 -20 replies
4/7KVM: nVMX: Process each host MSR entry at most once when unwinding failed VM-Entryarch/x86/kvm/vmx/nested.c+1 -07 replies
5/7KVM: x86/mmu: Cap number of parent PTEs per SP at 1000 (the arbitrary rmap limit)arch/x86/kvm/mmu/mmu.c+10 -00 replies
6/7KVM: x86: Unconditionally reset MMU context when emulating INITarch/x86/kvm/x86.c+16 -110 replies
7/7KVM: x86: Flush guest TLB when emulating a RESET to strictly honor the specarch/x86/kvm/x86.c+9 -120 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by.

PatchStefan Teodorescu
1/7T-b
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] KVM: a bunch of fixes

Seven fixes ranging from performance issues to missing checks and potential use of a stale role. All except the last one are Cc'd to stable, and all of them are already on their way to Linus.

Paolo

Sean Christopherson (7):
KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM
KVM: x86/mmu: Conditionally resched when retrying gPTE walk on A/D
update failure
KVM: x86: Conditionally resched when restarting REP string emulation
KVM: nVMX: Process each host MSR entry at most once when unwinding
failed VM-Entry
KVM: x86/mmu: Cap number of parent PTEs per SP at 1000 (the arbitrary
rmap limit)
KVM: x86: Unconditionally reset MMU context when emulating INIT
KVM: x86: Flush guest TLB when emulating a RESET to strictly honor the
spec

 arch/x86/kvm/mmu/mmu.c         | 10 ++++++++
 arch/x86/kvm/mmu/paging_tmpl.h | 11 +++++++-
 arch/x86/kvm/svm/nested.c      | 23 +++++++++++------
 arch/x86/kvm/svm/svm.c         |  2 ++
 arch/x86/kvm/svm/svm.h         |  2 ++
 arch/x86/kvm/vmx/nested.c      |  1 +
 arch/x86/kvm/x86.c             | 46 ++++++++++++++++++----------------
 7 files changed, 66 insertions(+), 29 deletions(-)
Signature · 1 line
2.52.0