mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-07 14:59:10 +00:00
s390: stop target cpu on sigp initial reset
We must not run the target cpu after an initial reset. This makes system_reset more reliable for smp guests. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
c5854acb75
commit
2fb70f6f17
@ -314,6 +314,7 @@ static int s390_cpu_initial_reset(CPUS390XState *env)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
s390_del_running_cpu(env);
|
||||||
if (kvm_vcpu_ioctl(env, KVM_S390_INITIAL_RESET, NULL) < 0) {
|
if (kvm_vcpu_ioctl(env, KVM_S390_INITIAL_RESET, NULL) < 0) {
|
||||||
perror("cannot init reset vcpu");
|
perror("cannot init reset vcpu");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user