Nested SVM cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 36 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
10 of 12 patches have a Reviewed-by or Acked-by.
| Patch | Alexander Graf |
|---|---|
| 1/12 | A-b |
| 2/12 | |
| 3/12 | A-b |
| 4/12 | A-b |
| 5/12 | A-b |
| 6/12 | A-b |
| 7/12 | A-b |
| 8/12 | |
| 9/12 | A-b |
| 10/12 | A-b |
| 11/12 | A-b |
| 12/12 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/12] Nested SVM cleanups
Hi,
here is a first round of patches to clean up the code for SVM virtualization for KVM on AMD. There is more to clean up but since I am on vacation the rest of the week here is what I have queued up so far. Maybe this saves me from rebasing this code next week ;-)
I tested these patches with KVM in KVM and it works stable with and without nested SMP. It doesn't seem to break anything.
Joerg
Diffstat:
arch/x86/kvm/svm.c | 422 +++++++++++++++++++++++++++++++-------------------- 1 files changed, 256 insertions(+), 166 deletions(-)
Shortlog:
Joerg Roedel (12):
kvm/svm: make nested svm debugging runtime configurable kvm/svm: add helper functions for global interrupt flag kvm/svm: optimize nested #vmexit
kvm/svm: optimize nested vmrun
kvm/svm: copy only necessary parts of the control area on vmrun/vmexit kvm/svm: complete interrupts after handling nested exits kvm/svm: move nested svm state into seperate struct kvm/svm: cache nested intercepts
kvm/svm: consolidate nested_svm_exit_handled
kvm/svm: do nested vmexit in nested_svm_exit_handled kvm/svm: handle #pf intercepts in nested_svm_exit_handled directly kvm/svm: simplify nested_svm_check_exception