aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm
diff options
context:
space:
mode:
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>2014-05-06 10:33:42 -0400
committerChristian Borntraeger <borntraeger@de.ibm.com>2014-05-30 03:39:39 -0400
commit3192c639505502753bb7ded1b466a84546286330 (patch)
treed74c5996879c325ba6678c3cf7d97b829071afbc /arch/s390/kvm
parent2de3bfc25ab39109883075a75134c37759fa1b93 (diff)
KVM: s390: a VCPU is already started when delivering interrupts
This patch removes the start of a VCPU when delivering a RESTART interrupt. Interrupt delivery is called from kvm_arch_vcpu_ioctl_run. So the VCPU is already considered started - no need to call kvm_s390_vcpu_start. This function will early exit anyway. Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm')
-rw-r--r--arch/s390/kvm/interrupt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/s390/kvm/interrupt.c b/arch/s390/kvm/interrupt.c
index bf0d9bc15bcd..90c8de22a2a0 100644
--- a/arch/s390/kvm/interrupt.c
+++ b/arch/s390/kvm/interrupt.c
@@ -442,7 +442,6 @@ static void __do_deliver_interrupt(struct kvm_vcpu *vcpu,
442 rc |= read_guest_lc(vcpu, offsetof(struct _lowcore, restart_psw), 442 rc |= read_guest_lc(vcpu, offsetof(struct _lowcore, restart_psw),
443 &vcpu->arch.sie_block->gpsw, 443 &vcpu->arch.sie_block->gpsw,
444 sizeof(psw_t)); 444 sizeof(psw_t));
445 kvm_s390_vcpu_start(vcpu);
446 break; 445 break;
447 case KVM_S390_PROGRAM_INT: 446 case KVM_S390_PROGRAM_INT:
448 VCPU_EVENT(vcpu, 4, "interrupt: pgm check code:%x, ilc:%x", 447 VCPU_EVENT(vcpu, 4, "interrupt: pgm check code:%x, ilc:%x",