kvm: x86: don't kill guest on unknown exit reason
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 18 Sep 2014 13:21:16 +0000 (16:21 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Oct 2014 11:21:17 +0000 (13:21 +0200)
KVM_EXIT_UNKNOWN is a kvm bug, we don't really know whether it was
triggered by a priveledged application.  Let's not kill the guest: WARN
and inject #UD instead.

Cc: stable@vger.kernel.org
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c

Simple merge
Simple merge