aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/kvm_host.h
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2008-04-09 08:15:30 -0400
committerAvi Kivity <avi@qumranet.com>2008-04-27 05:01:18 -0400
commit53371b5098543ab09dcb0c7ce31da887dbe58c62 (patch)
tree5453a27cb8909c3604f81d4cc8811542b3f48d10 /include/asm-x86/kvm_host.h
parent6394b6494c0a352a2db3ea3e891ba7aeea7c1441 (diff)
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>
Diffstat (limited to 'include/asm-x86/kvm_host.h')
-rw-r--r--include/asm-x86/kvm_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h
index de3eccfb767c..286117878ce2 100644
--- a/include/asm-x86/kvm_host.h
+++ b/include/asm-x86/kvm_host.h
@@ -62,6 +62,7 @@
62#define SS_VECTOR 12 62#define SS_VECTOR 12
63#define GP_VECTOR 13 63#define GP_VECTOR 13
64#define PF_VECTOR 14 64#define PF_VECTOR 14
65#define MC_VECTOR 18
65 66
66#define SELECTOR_TI_MASK (1 << 2) 67#define SELECTOR_TI_MASK (1 << 2)
67#define SELECTOR_RPL_MASK 0x03 68#define SELECTOR_RPL_MASK 0x03