KVM: SVM: Notify nested hypervisor of lost event injections
authorAlexander Graf <agraf@suse.de>
Fri, 9 Oct 2009 14:08:25 +0000 (16:08 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 3 Dec 2009 07:32:14 +0000 (09:32 +0200)
commit8d23c4662427507f432c96ac4fa3b76f0a8360cd
tree2390dd2597dae341903d98b12c66a43368674270
parente3267cbbbfbcbe9c18833e89b10beabb1117cb55
KVM: SVM: Notify nested hypervisor of lost event injections

If event_inj is valid on a #vmexit the host CPU would write
the contents to exit_int_info, so the hypervisor knows that
the event wasn't injected.

We don't do this in nested SVM by now which is a bug and
fixed by this patch.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/svm.c