[PATCH 0/8] More fixes for nested svm

Joerg Roedel
2010-04-22T10:34:43Z

Hi Avi, Marcelo,

here is another set of nested svm fixes. They fix NMI code to make UP Hyper-V
root domain booting. The patches also add better handling for nested entry
failures and mce intercepts.
Also in this patchset are the fixes for the supported cpuid reporting for svm
features. These patches were taken from the nested-npt patchset and slightly
modified. These patches are also marked for -stable backporting.
The probably most important fix is about exception reinjection. This didn't
work reliably before and is fixed with the patch in this series now. This fix
also touches common x86 code but that should be ok because it could be reused
by nested-vmx later.
Please review and give comments (or apply ;-).

Thanks,

Joerg

Diffstat:

arch/x86/include/asm/kvm_host.h | 8 ++++-
arch/x86/kvm/svm.c | 72 +++++++++++++++++++++++++--------------
arch/x86/kvm/vmx.c | 9 ++++-
arch/x86/kvm/x86.c | 26 ++++++++++++--
4 files changed, 83 insertions(+), 32 deletions(-)

Shortlog:

Joerg Roedel (8):
KVM: SVM: Fix nested nmi handling
KVM: SVM: Make sure rip is synced to vmcb before nested vmexit
KVM: SVM: Sync cr0 and cr3 to kvm state before nested handling
KVM: SVM: Propagate nested entry failure into guest hypervisor
KVM: X86: Add callback to let modules decide over some supported cpuid bits
KVM: SVM: Report emulated SVM features to userspace
KVM: x86: Allow marking an exception as reinjected
KVM: SVM: Handle MCE intercepts always on host level