diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2010-04-22 12:33:14 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-17 12:19:27 +0300 |
commit | ff47a49b235e59e606e1cb267a08f7fbeb5719d1 (patch) | |
tree | bd6f38e3e91e8a68136be2f30b81b43411ad4ab4 /arch/x86/kvm/svm.c | |
parent | ce7ddec4bbbc08f0c2901cc103773aed864b09fd (diff) | |
download | blackbird-op-linux-ff47a49b235e59e606e1cb267a08f7fbeb5719d1.tar.gz blackbird-op-linux-ff47a49b235e59e606e1cb267a08f7fbeb5719d1.zip |
KVM: SVM: Handle MCE intercepts always on host level
This patch prevents MCE intercepts from being propagated
into the L1 guest if they happened in an L2 guest.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r-- | arch/x86/kvm/svm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 30e49fe7f8c0..889f66022e57 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c @@ -1651,6 +1651,7 @@ static int nested_svm_exit_special(struct vcpu_svm *svm) switch (exit_code) { case SVM_EXIT_INTR: case SVM_EXIT_NMI: + case SVM_EXIT_EXCP_BASE + MC_VECTOR: return NESTED_EXIT_HOST; case SVM_EXIT_NPF: /* For now we are always handling NPFs when using them */ |