KVM: s390: sigp: dispatch orders with one target in a separate function
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Wed, 19 Mar 2014 13:57:49 +0000 (14:57 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 28 Oct 2014 12:09:11 +0000 (13:09 +0100)
commit3526a66b66e3a997fb7d77af2f65dbdd77d2556e
treea99c32756015a95c60233988750efac9ac10997e
parenta36c5393266222129ce6f622e3bc3fb5463f290c
KVM: s390: sigp: dispatch orders with one target in a separate function

All sigp orders except SIGP SET ARCHITECTURE target exactly one vcpu.

Let's move the dispatch code for these orders into a separate function to
prepare for cleaner target availability checks.

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