summaryrefslogtreecommitdiff
path: root/include/linux/kvm.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-11-04 12:59:01 +0300
committerAvi Kivity <avi@redhat.com>2009-12-03 10:32:24 +0300
commit65ac7264043740572ba804edca03c374d70427c9 (patch)
tree9adc0414526ed289a7f9d6ff7c2ae4e968113cd8 /include/linux/kvm.h
parenta9c7399d6cda0a092b347f8ee49bbe44f6e1fe66 (diff)
downloadlinux-65ac7264043740572ba804edca03c374d70427c9.tar.xz
KVM: VMX: Report unexpected simultaneous exceptions as internal errors
These happen when we trap an exception when another exception is being delivered; we only expect these with MCEs and page faults. If something unexpected happens, things probably went south and we're better off reporting an internal error and freezing. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/linux/kvm.h')
-rw-r--r--include/linux/kvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index 172639e94392..976f4d181858 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -163,6 +163,7 @@ struct kvm_pit_config {
/* For KVM_EXIT_INTERNAL_ERROR */
#define KVM_INTERNAL_ERROR_EMULATION 1
+#define KVM_INTERNAL_ERROR_SIMUL_EX 2
/* for KVM_RUN, returned by mmap(vcpu_fd, offset=0) */
struct kvm_run {