]> Git Repo - qemu.git/commit - hw/s390-virtio.c
s390: Fix cpu shutdown for KVM
authorChristian Borntraeger <[email protected]>
Tue, 4 Oct 2011 05:20:59 +0000 (05:20 +0000)
committerAlexander Graf <[email protected]>
Mon, 14 Nov 2011 16:47:26 +0000 (17:47 +0100)
commit854e42f3e8d3dcaf35b018cf56618fbcd15082d9
tree1ee5914028ec3423eaf28a73291ae07d581c5d02
parent13449a6e0ecf6c73e34657100566a471f0c26bbb
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 <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
hw/s390-virtio.c
target-s390x/cpu.h
target-s390x/kvm.c
This page took 0.026415 seconds and 4 git commands to generate.