aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/vmx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/kvm/vmx.c')
-rw-r--r--drivers/kvm/vmx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c
index cf9568fbe8a5..e69bab6d811d 100644
--- a/drivers/kvm/vmx.c
+++ b/drivers/kvm/vmx.c
@@ -1941,12 +1941,14 @@ again:
1941 if (signal_pending(current)) { 1941 if (signal_pending(current)) {
1942 ++kvm_stat.signal_exits; 1942 ++kvm_stat.signal_exits;
1943 post_kvm_run_save(vcpu, kvm_run); 1943 post_kvm_run_save(vcpu, kvm_run);
1944 kvm_run->exit_reason = KVM_EXIT_INTR;
1944 return -EINTR; 1945 return -EINTR;
1945 } 1946 }
1946 1947
1947 if (dm_request_for_irq_injection(vcpu, kvm_run)) { 1948 if (dm_request_for_irq_injection(vcpu, kvm_run)) {
1948 ++kvm_stat.request_irq_exits; 1949 ++kvm_stat.request_irq_exits;
1949 post_kvm_run_save(vcpu, kvm_run); 1950 post_kvm_run_save(vcpu, kvm_run);
1951 kvm_run->exit_reason = KVM_EXIT_INTR;
1950 return -EINTR; 1952 return -EINTR;
1951 } 1953 }
1952 1954