Commit 7e6ccbbb authored by Christian Borntraeger's avatar Christian Borntraeger Committed by Ben Hutchings

KVM: s390: unintended fallthrough for external call

commit f346026e upstream.

We must not fallthrough if the conditions for external call are not met.
Signed-off-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: default avatarThomas Huth <thuth@linux.vnet.ibm.com>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 03ccd424
......@@ -43,6 +43,7 @@ static int __interrupt_is_deliverable(struct kvm_vcpu *vcpu,
return 0;
if (vcpu->arch.sie_block->gcr[0] & 0x2000ul)
return 1;
return 0;
case KVM_S390_INT_EMERGENCY:
if (psw_extint_disabled(vcpu))
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment