From: David Hildenbrand Date: Tue, 5 Aug 2014 15:40:47 +0000 (+0200) Subject: KVM: s390: a VCPU may only stop when no interrupts are left pending X-Git-Tag: fixes-v4.0-rc1~113^2~36^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a022067ad75b117f1c1e5cbf6a592022cf0a749;p=pandora-kernel.git KVM: s390: a VCPU may only stop when no interrupts are left pending As a SIGP STOP is an interrupt with the least priority, it may only result in stop of the vcpu when no other interrupts are left pending. To detect whether a non-stop irq is pending, we need a way to mask out stop irqs from the general kvm_cpu_has_interrupt() function. For this reason, the existing function (with an outdated name) is replaced by kvm_s390_vcpu_has_irq() which allows to mask out pending stop irqs. Acked-by: Cornelia Huck Signed-off-by: David Hildenbrand Signed-off-by: Christian Borntraeger --- Reading git-diff-tree failed