Another set of nested svm fixes and optimizations
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | KVM: SVM: Coding style cleanuparch/ | +81 | 1 reply | |
| 2/11 | KVM: SVM: Reset MMU on nested_svm_vmrun for NPT tooarch/ | +5 | 0 replies | |
| 3/11 | KVM: SVM: Check for nested intercepts on NMI injectionarch/ | +19 | 0 replies | |
| 4/11 | KVM: SVM: Restore tracing of nested vmcb addressarch/ | +1 | 0 replies | |
| 5/11 | KVM: SVM: Add kvm_nested_intercepts tracepointarch/ arch/ arch/ | +28 | 0 replies | |
| 6/11 | KVM: SVM: Implement emulation of vm_cr msrarch/ arch/ | +32 | 1 reply | |
| 7/11 | KVM: SVM: Ignore write of hwcr.ignnearch/ | +1 | 0 replies | |
| 8/11 | KVM: x86: Don't set arch.cr0 in kvm_set_cr0arch/ | +0 | 0 replies | |
| 9/11 | KVM: SVM: Handle nested selective_cr0 intercept correctlyarch/ | +21 | 0 replies | |
| 10/11 | KVM: SVM: Clear exit_info for injected INTR exitsarch/ | +3 | 0 replies | |
| 11/11 | KVM: SVM: Optimize nested svm msrpm mergingarch/ | +36 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/11] Another set of nested svm fixes and optimizations
Hi,
here is another set of patches I collected in the last days while trying to get Hyper-V running with nested svm. I was not successful yet but the patches in this set make sense anyway :-)
The patches fix coding style issues which annoyed me for some time because my vim shows all c-space-errors with red color. Other patches in this set make nested svm more complete (nmi and selective cr0 related). The vm_cr and hwcr.ignne patches are related to Hyper-V tests. This hypervisor expects to write to those msrs.
The most interesting thing is patch 11 which reduces the amount of memory which is touched in the vmrun emulation for merging the msrpms from 24kb to 48 bytes. Please review and comment (or apply if perfect ;-) ) these patches.
Thanks,
Joerg
diffstat:
arch/x86/include/asm/svm.h | 4 + arch/x86/kvm/svm.c | 282 +++++++++++++++++++++++++++++++------------- arch/x86/kvm/trace.h | 22 ++++ arch/x86/kvm/x86.c | 3 +- 4 files changed, 226 insertions(+), 85 deletions(-)
shortlog:
Joerg Roedel (11):
KVM: SVM: Coding style cleanup
KVM: SVM: Reset MMU on nested_svm_vmrun for NPT too
KVM: SVM: Check for nested intercepts on NMI injection
KVM: SVM: Restore tracing of nested vmcb address
KVM: SVM: Add kvm_nested_intercepts tracepoint
KVM: SVM: Implement emulation of vm_cr msr
KVM: SVM: Ignore write of hwcr.ignne
KVM: x86: Don't set arch.cr0 in kvm_set_cr0
KVM: SVM: Handle nested selective_cr0 intercept correctly
KVM: SVM: Clear exit_info for injected INTR exits
KVM: SVM: Optimize nested svm msrpm merging