summary refs log tree commit diff stats
path: root/scripts/qapi-types.py
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2011-11-20 23:12:03 +0000
committerAlexander Graf <agraf@suse.de>2012-01-04 02:48:14 +0100
commit93116ac0cf9734e7b28886aedf03848b37d6785e (patch)
treef142c2a7018762c1537176d7d6b48fb087978a9e /scripts/qapi-types.py
parent7d77793d6bf5ecb784040aef946ff7b4d52f2d2a (diff)
downloadfocaccia-qemu-93116ac0cf9734e7b28886aedf03848b37d6785e.tar.gz
focaccia-qemu-93116ac0cf9734e7b28886aedf03848b37d6785e.zip
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>
Diffstat (limited to 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions