KVM: s390: move finalization of SIGP STOP orders to kvm_s390_vcpu_stop
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Mon, 14 Apr 2014 10:40:03 +0000 (12:40 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 10 Jul 2014 12:09:44 +0000 (14:09 +0200)
Let's move the finalization of SIGP STOP and SIGP STOP AND STORE STATUS orders to
the point where the VCPU is actually stopped.

This change is needed to prepare for a user space driven VCPU state change. The
action_bits may only be cleared when setting the cpu state to STOPPED while
holding the local irq lock.

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

Simple merge
Simple merge