KVM: s390: provide functions for blocking all CPUs
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 14 Apr 2015 10:17:34 +0000 (12:17 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 8 May 2015 13:51:15 +0000 (15:51 +0200)
commit27406cd50cf6653196eea8ebbb15a75596da01ca
tree371f3d79b9a1958a5714cd823b5e3b6f24397cd2
parent8e23654687c97df1c0e4b1def245a05001eaf640
KVM: s390: provide functions for blocking all CPUs

Some updates to the control blocks need to be done in a way that
ensures that no CPU is within SIE. Provide wrappers around the
s390_vcpu_block functions and adopt the TOD migration code to
update in a guaranteed fashion. Also rename these functions to
have the kvm_s390_ prefix as everything else.

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