summaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm/kvm-s390.c
diff options
context:
space:
mode:
authorJens Freimann <jfrei@linux.vnet.ibm.com>2014-02-11 13:48:07 +0100
committerChristian Borntraeger <borntraeger@de.ibm.com>2014-03-25 13:27:12 +0100
commit2ed10cc15e7edf2daf22ce807a877a1266e97711 (patch)
tree07af72afb5acc318c9ee4e8c562e74dd324912d4 /arch/s390/kvm/kvm-s390.c
parent91880d07fc9b2b6b7a726765039897af99d9ca78 (diff)
downloadop-kernel-dev-2ed10cc15e7edf2daf22ce807a877a1266e97711.zip
op-kernel-dev-2ed10cc15e7edf2daf22ce807a877a1266e97711.tar.gz
KVM: s390: clear local interrupts at cpu initial reset
Empty list of local interrupts when vcpu goes through initial reset to provide a clean state Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/kvm-s390.c')
-rw-r--r--arch/s390/kvm/kvm-s390.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c
index a02979f..83b7944 100644
--- a/arch/s390/kvm/kvm-s390.c
+++ b/arch/s390/kvm/kvm-s390.c
@@ -395,6 +395,7 @@ static void kvm_s390_vcpu_initial_reset(struct kvm_vcpu *vcpu)
vcpu->arch.pfault_token = KVM_S390_PFAULT_TOKEN_INVALID;
kvm_clear_async_pf_completion_queue(vcpu);
atomic_set_mask(CPUSTAT_STOPPED, &vcpu->arch.sie_block->cpuflags);
+ kvm_s390_clear_local_irqs(vcpu);
}
int kvm_arch_vcpu_postcreate(struct kvm_vcpu *vcpu)
OpenPOWER on IntegriCloud