KVM: VMX: report internal error for the unhandleable event
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Wed, 17 Oct 2012 05:46:52 +0000 (13:46 +0800)
committerAvi Kivity <avi@redhat.com>
Thu, 18 Oct 2012 14:30:29 +0000 (16:30 +0200)
commitb9bf6882c1f9451ce1e80aaed32107673a735613
treeb9861c5f037f1a0ed9c803a8de5e7c310a5d6a32
parent471842ec49726bc589322e8498e6620b4d723c74
KVM: VMX: report internal error for the unhandleable event

VM exits during Event Delivery is really unexpected if it is not caused
by Exceptions/EPT-VIOLATION/TASK_SWITCH, we'd better to report an internal
and freeze the guest, the VMM has the chance to check the guest

Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/vmx.c
include/linux/kvm.h