KVM: VMX: Report unexpected simultaneous exceptions as internal errors
commit65ac7264043740572ba804edca03c374d70427c9
authorAvi Kivity <avi@redhat.com>
Wed, 4 Nov 2009 09:59:01 +0000 (4 11:59 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 3 Dec 2009 07:32:24 +0000 (3 09:32 +0200)
tree9adc0414526ed289a7f9d6ff7c2ae4e968113cd8
parenta9c7399d6cda0a092b347f8ee49bbe44f6e1fe66
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>
arch/x86/kvm/vmx.c
include/linux/kvm.h