KVM: vmx: expose more information for KVM_INTERNAL_ERROR_DELIVERY_EV exits
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Jul 2017 10:38:06 +0000 (12:38 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 10 Jul 2017 12:44:07 +0000 (14:44 +0200)
commit70bcd708dfd1de453905212c9c5c755b1844772b
tree30e2c1d870e230600ba78009f044837149bbd9af
parentb49defe83659cefbb1763d541e779da32594ab10
KVM: vmx: expose more information for KVM_INTERNAL_ERROR_DELIVERY_EV exits

This exit ended up being reported, but the currently exposed data does not provide
much of a starting point for debugging.  In the reported case, the vmexit was
an EPT misconfiguration (MMIO access).  Let userspace report ethe exit qualification
and, if relevant, the GPA.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c