diff options
-rw-r--r-- | arch/s390/kvm/kvm-s390.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c index 40e4f2de7320..ded27c7777cc 100644 --- a/arch/s390/kvm/kvm-s390.c +++ b/arch/s390/kvm/kvm-s390.c | |||
@@ -435,6 +435,8 @@ static void __vcpu_run(struct kvm_vcpu *vcpu) | |||
435 | if (test_thread_flag(TIF_MCCK_PENDING)) | 435 | if (test_thread_flag(TIF_MCCK_PENDING)) |
436 | s390_handle_mcck(); | 436 | s390_handle_mcck(); |
437 | 437 | ||
438 | kvm_s390_deliver_pending_interrupts(vcpu); | ||
439 | |||
438 | vcpu->arch.sie_block->icptcode = 0; | 440 | vcpu->arch.sie_block->icptcode = 0; |
439 | local_irq_disable(); | 441 | local_irq_disable(); |
440 | kvm_guest_enter(); | 442 | kvm_guest_enter(); |
@@ -480,7 +482,6 @@ int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) | |||
480 | might_sleep(); | 482 | might_sleep(); |
481 | 483 | ||
482 | do { | 484 | do { |
483 | kvm_s390_deliver_pending_interrupts(vcpu); | ||
484 | __vcpu_run(vcpu); | 485 | __vcpu_run(vcpu); |
485 | rc = kvm_handle_sie_intercept(vcpu); | 486 | rc = kvm_handle_sie_intercept(vcpu); |
486 | } while (!signal_pending(current) && !rc); | 487 | } while (!signal_pending(current) && !rc); |