linux_dsm_epyc7002/arch/s390/kvm
Jens Freimann 151104a7b3 KVM: s390: make sigp restart return busy when stop pending
On reboot the guest sends in smp_send_stop() a sigp stop to all CPUs
except for current CPU.  Then the guest switches to the IPL cpu by
sending a restart to the IPL CPU, followed by a sigp stop to the
current cpu. Since restart is handled by userspace it's possible that
the restart is delivered before the old stop.  This means that the IPL
CPU isn't restarted and we have no running CPUs. So let's make sure
that there is no stop action pending when we do the restart.

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>
2012-03-08 14:10:15 +02:00
..
diag.c KVM: s390: provide general purpose guest registers via kvm_run 2012-03-05 14:52:22 +02:00
gaccess.h [S390] Use gmap translation for accessing guest memory 2011-07-24 10:48:21 +02:00
intercept.c KVM: s390: do store status after handling STOP_ON_STOP bit 2012-03-08 14:10:14 +02:00
interrupt.c KVM: s390: rework code that sets the prefix 2012-03-05 14:52:21 +02:00
Kconfig KVM: s390: add parameter for KVM_CREATE_VM 2012-03-05 14:52:18 +02:00
kvm-s390.c KVM: s390: Sanitize fpc registers for KVM_SET_FPU 2012-03-08 14:10:13 +02:00
kvm-s390.h KVM: s390: rework code that sets the prefix 2012-03-05 14:52:21 +02:00
Makefile [S390] move sie code to entry.S 2011-07-24 10:48:21 +02:00
priv.c KVM: s390: provide general purpose guest registers via kvm_run 2012-03-05 14:52:22 +02:00
sigp.c KVM: s390: make sigp restart return busy when stop pending 2012-03-08 14:10:15 +02:00