KVM: s390: clean up interrupt injection in sigp code
authorJens Freimann <jfrei@linux.vnet.ibm.com>
Wed, 14 May 2014 15:14:46 +0000 (17:14 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 30 May 2014 07:39:37 +0000 (09:39 +0200)
commit22ff4a3366e6fed80205b427d8fb52020cd9020a
treee5a6084bbe035cc02835d1190dcf54c510c2c812
parenta0465f9ae4758207264a1318bb8aed617c0ea959
KVM: s390: clean up interrupt injection in sigp code

We have all the logic to inject interrupts available in
kvm_s390_inject_vcpu(), so let's use it instead of
injecting irqs manually to the list in sigp code.

SIGP stop is special because we have to check the
action_flags before injecting the interrupt. As
the action_flags are not available in kvm_s390_inject_vcpu()
we leave the code for the stop order code untouched for now.

Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
arch/s390/kvm/sigp.c