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)
commit2bc19dc3754fc066c43799659f0d848631c44cfe
treebe47520a611abb758ff6a57ecbe00041a64956d0
parenta642fc305053cc1c6e47e4f4df327895747ab485
kvm: x86: don't kill guest on unknown exit reason

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