diff options
author | Avi Kivity <avi@qumranet.com> | 2007-02-12 03:54:36 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 12:48:40 -0500 |
commit | 988ad74ff6107d9a490ee193e41251e27d37c95f (patch) | |
tree | e9c84f547405951a13b53f9d08e343a46147e070 /drivers/kvm/vmx.h | |
parent | e119d117a1d16e71876144188c0e0b3ecb8aeede (diff) |
[PATCH] kvm: vmx: handle triple faults by returning EXIT_REASON_SHUTDOWN to userspace
Just like svm.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/kvm/vmx.h')
-rw-r--r-- | drivers/kvm/vmx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/kvm/vmx.h b/drivers/kvm/vmx.h index 4c0ab151836a..d0dc93df411b 100644 --- a/drivers/kvm/vmx.h +++ b/drivers/kvm/vmx.h | |||
@@ -180,6 +180,7 @@ enum vmcs_field { | |||
180 | 180 | ||
181 | #define EXIT_REASON_EXCEPTION_NMI 0 | 181 | #define EXIT_REASON_EXCEPTION_NMI 0 |
182 | #define EXIT_REASON_EXTERNAL_INTERRUPT 1 | 182 | #define EXIT_REASON_EXTERNAL_INTERRUPT 1 |
183 | #define EXIT_REASON_TRIPLE_FAULT 2 | ||
183 | 184 | ||
184 | #define EXIT_REASON_PENDING_INTERRUPT 7 | 185 | #define EXIT_REASON_PENDING_INTERRUPT 7 |
185 | 186 | ||