aboutsummaryrefslogtreecommitdiff
path: root/target-s390x/helper.c
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2011-10-04 05:20:59 +0000
committerAlexander Graf <agraf@suse.de>2011-11-14 17:47:26 +0100
commit854e42f3e8d3dcaf35b018cf56618fbcd15082d9 (patch)
tree1ee5914028ec3423eaf28a73291ae07d581c5d02 /target-s390x/helper.c
parent13449a6e0ecf6c73e34657100566a471f0c26bbb (diff)
s390: Fix cpu shutdown for KVM
On s390 a shutdown is the state of all CPUs being either stopped or disabled (for interrupts) waiting. We have to track the overall number of running CPUs to call the shutdown sequence accordingly. This patch implements the counting and shutdown handling for the kvm path in qemu. Lets also wrap changes to env->halted and env->exception_index. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-s390x/helper.c')
0 files changed, 0 insertions, 0 deletions