diff options
author | Jens Freimann <jfrei@linux.vnet.ibm.com> | 2012-02-06 04:59:06 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-03-08 07:10:17 -0500 |
commit | 9ec2d6dc6c4d4792b85dec2f09d39387fb7157d1 (patch) | |
tree | b84be054e22568bc15e647f3e0fd09972b44a522 /arch/s390/kvm | |
parent | 24a13044a84be51a6a4885a72ac9d5f4ed0742d0 (diff) |
KVM: s390: add stop_on_stop flag when doing stop and store
When we do a stop and store status we need to pass ACTION_STOP_ON_STOP
flag to __sigp_stop().
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/s390/kvm')
-rw-r--r-- | arch/s390/kvm/sigp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/kvm/sigp.c b/arch/s390/kvm/sigp.c index f3d5cc297012..0ad4cf238391 100644 --- a/arch/s390/kvm/sigp.c +++ b/arch/s390/kvm/sigp.c | |||
@@ -385,7 +385,8 @@ int kvm_s390_handle_sigp(struct kvm_vcpu *vcpu) | |||
385 | break; | 385 | break; |
386 | case SIGP_STOP_STORE_STATUS: | 386 | case SIGP_STOP_STORE_STATUS: |
387 | vcpu->stat.instruction_sigp_stop++; | 387 | vcpu->stat.instruction_sigp_stop++; |
388 | rc = __sigp_stop(vcpu, cpu_addr, ACTION_STORE_ON_STOP); | 388 | rc = __sigp_stop(vcpu, cpu_addr, ACTION_STORE_ON_STOP | |
389 | ACTION_STOP_ON_STOP); | ||
389 | break; | 390 | break; |
390 | case SIGP_SET_ARCH: | 391 | case SIGP_SET_ARCH: |
391 | vcpu->stat.instruction_sigp_arch++; | 392 | vcpu->stat.instruction_sigp_arch++; |