Skip to content

KVM: x86: sync SPTEs on page/EPT fault injection

Paolo Bonzini kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3KVM: x86: introduce kvm_mmu_invalidate_gvaarch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu/mmu.c+47 -265 replies
2/3KVM: x86: cleanup kvm_inject_emulated_page_faultarch/x86/kvm/mmu/mmu.c arch/x86/kvm/mmu/paging_tmpl.h arch/x86/kvm/x86.c+4 -114 replies
3/3KVM: x86: Sync SPTEs when injecting page/EPT fault into L1arch/x86/kvm/vmx/nested.c arch/x86/kvm/vmx/vmx.c arch/x86/kvm/x86.c+17 -81 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] KVM: x86: sync SPTEs on page/EPT fault injection

This is my take on Junaid and Sean's patch, from the TLB cleanup series. It passes initial tests, including my usual guest installation and kvm-unit-tests battery (with both ept=0 and ept=1), but I'm not sure if there's anything that isn't covered by kvm-unit-tests, especially for nested. I have not yet run guest installation tests under nested virt but I will before merging the whole TLB cleanup series.

Please review!

Junaid Shahid (1):
KVM: x86: Sync SPTEs when injecting page/EPT fault into L1

Paolo Bonzini (2):
KVM: x86: introduce kvm_mmu_invalidate_gva
KVM: x86: cleanup kvm_inject_emulated_page_fault

 arch/x86/include/asm/kvm_host.h |  2 +
 arch/x86/kvm/mmu/mmu.c          | 77 +++++++++++++++++++--------------
 arch/x86/kvm/mmu/paging_tmpl.h  |  2 +-
 arch/x86/kvm/vmx/nested.c       | 12 ++---
 arch/x86/kvm/vmx/vmx.c          |  2 +-
 arch/x86/kvm/x86.c              | 16 +++++--
 6 files changed, 67 insertions(+), 44 deletions(-)
Signature · 1 line
2.18.2