KVM: SVM: add intercept for machine check exception
commit53371b5098543ab09dcb0c7ce31da887dbe58c62
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 9 Apr 2008 12:15:30 +0000 (9 14:15 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 09:01:18 +0000 (27 12:01 +0300)
tree5453a27cb8909c3604f81d4cc8811542b3f48d10
parent6394b6494c0a352a2db3ea3e891ba7aeea7c1441
KVM: SVM: add intercept for machine check exception

To properly forward a MCE occured while the guest is running to the host, we
have to intercept this exception and call the host handler by hand. This is
implemented by this patch.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/svm.c
include/asm-x86/kvm_host.h