aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r--arch/x86/kvm/x86.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 74e70d975ffa..a1cf87fe9f3a 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -4237,6 +4237,9 @@ static void inject_pending_event(struct kvm_vcpu *vcpu)
4237{ 4237{
4238 /* try to reinject previous events if any */ 4238 /* try to reinject previous events if any */
4239 if (vcpu->arch.exception.pending) { 4239 if (vcpu->arch.exception.pending) {
4240 trace_kvm_inj_exception(vcpu->arch.exception.nr,
4241 vcpu->arch.exception.has_error_code,
4242 vcpu->arch.exception.error_code);
4240 kvm_x86_ops->queue_exception(vcpu, vcpu->arch.exception.nr, 4243 kvm_x86_ops->queue_exception(vcpu, vcpu->arch.exception.nr,
4241 vcpu->arch.exception.has_error_code, 4244 vcpu->arch.exception.has_error_code,
4242 vcpu->arch.exception.error_code); 4245 vcpu->arch.exception.error_code);