aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/s390/kvm/kvm-s390.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c
index 1d65f6277166..5c1c30259002 100644
--- a/arch/s390/kvm/kvm-s390.c
+++ b/arch/s390/kvm/kvm-s390.c
@@ -527,8 +527,10 @@ rerun_vcpu:
527 if (rc == SIE_INTERCEPT_RERUNVCPU) 527 if (rc == SIE_INTERCEPT_RERUNVCPU)
528 goto rerun_vcpu; 528 goto rerun_vcpu;
529 529
530 if (signal_pending(current) && !rc) 530 if (signal_pending(current) && !rc) {
531 kvm_run->exit_reason = KVM_EXIT_INTR;
531 rc = -EINTR; 532 rc = -EINTR;
533 }
532 534
533 if (rc == -ENOTSUPP) { 535 if (rc == -ENOTSUPP) {
534 /* intercept cannot be handled in-kernel, prepare kvm-run */ 536 /* intercept cannot be handled in-kernel, prepare kvm-run */