sim-card
/
qemu
Archived
10
0
Fork 0
This repository has been archived on 2022-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
qemu/target-s390x
Christian Borntraeger 93116ac0cf s390: fix cpu hotplug / cpu activity on interrupts
The add_del/running_cpu code and env->halted are tracking stopped cpus.
Sleeping cpus (idle and enabled for interrupts) are waiting inside the
kernel.
No interrupt besides the restart can move a cpu from stopped to
operational. This is already handled over there. So lets just remove
the bogus wakup from the common interrupt delivery, otherwise any
interrupt will wake up a cpu, even if this cpu is stopped (Thus leading
to strange hangs on sigp restart)

This fixes
echo 0 > /sys/devices/system/cpu/cpu0/online
echo 1 > /sys/devices/system/cpu/cpu0/online
in the guest

Signed-off-by: Christian Borntraeger<borntraeger@de.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
2012-01-04 02:48:14 +01:00
..
cpu.h Fix spelling in comments, documentation and messages 2011-12-14 11:09:44 +00:00
helper.c s390x: Add shutdown for TCG s390-virtio machine 2011-11-14 17:47:26 +01:00
helpers.h s390x: add ldeb instruction 2011-11-14 17:47:26 +01:00
kvm.c s390: fix cpu hotplug / cpu activity on interrupts 2012-01-04 02:48:14 +01:00
machine.c
op_helper.c s390x: add TR function for EXECUTE 2012-01-04 02:48:14 +01:00
translate.c s390x: add ldeb instruction 2011-11-14 17:47:26 +01:00