Skip to content

Nested SVM fixes (and Win7-64bit bringup)

Joerg Roedel kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10KVM: SVM: Don't use kmap_atomic in nested_svm_maparch/x86/kvm/svm.c+16 -162 replies
2/10KVM: SVM: Fix wrong interrupt injection in enable_irq_windowsarch/x86/kvm/svm.c+8 -90 replies
3/10KVM: SVM: Fix schedule-while-atomic on nested exception handlingarch/x86/kvm/svm.c+17 -32 replies
4/10KVM: SVM: Sync all control registers on nested vmexitarch/x86/kvm/svm.c+4 -00 replies
5/10KVM: SVM: Annotate nested_svm_map with might_sleep()arch/x86/kvm/svm.c+2 -00 replies
6/10KVM: SVM: Fix nested msr intercept handlingarch/x86/kvm/svm.c+3 -90 replies
7/10KVM: SVM: Don't sync nested cr8 to lapic and backarch/x86/kvm/svm.c+31 -150 replies
8/10KVM: SVM: Activate nested state only when guest state is completearch/x86/kvm/svm.c+9 -60 replies
9/10KVM: SVM: Make lazy FPU switching work with nested svmarch/x86/kvm/svm.c+39 -45 replies
10/10KVM: SVM: Remove newlines from nested trace pointsarch/x86/kvm/trace.h+6 -60 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/10] Nested SVM fixes (and Win7-64bit bringup)

Hi,

here is a couple of fixes for the nested SVM implementation. I collected these fixes mostly when trying to get Windows 7 64bit running as an L2 guest. Most important fixes in this set make lazy fpu switching working with nested SVM and the nested tpr handling fixes. Without the later fix the l1 guest freezes when trying to run win7 as l2 guest. Please review and comment on these patches :-)

Joerg

Diffstat:

 arch/x86/kvm/svm.c   |  187 ++++++++++++++++++++++++++++++++++----------------
 arch/x86/kvm/trace.h |   12 ++--
 2 files changed, 133 insertions(+), 66 deletions(-)

Shortlog:

Joerg Roedel (10):
KVM: SVM: Don't use kmap_atomic in nested_svm_map
KVM: SVM: Fix wrong interrupt injection in enable_irq_windows
KVM: SVM: Fix schedule-while-atomic on nested exception handling
KVM: SVM: Sync all control registers on nested vmexit
KVM: SVM: Annotate nested_svm_map with might_sleep()
KVM: SVM: Fix nested msr intercept handling
KVM: SVM: Don't sync nested cr8 to lapic and back
KVM: SVM: Activate nested state only when guest state is complete
KVM: SVM: Make lazy FPU switching work with nested svm
KVM: SVM: Remove newlines from nested trace points