qemu/target-s390x
Christian Borntraeger 854e42f3e8 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>
2011-11-14 17:47:26 +01:00
..
cpu.h s390: Fix cpu shutdown for KVM 2011-11-14 17:47:26 +01:00
helper.c s390x: update R and C bits in storage key 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 shutdown for KVM 2011-11-14 17:47:26 +01:00
machine.c
op_helper.c s390x: implement SIGP restart and shutdown 2011-11-14 17:47:26 +01:00
translate.c s390x: add ldeb instruction 2011-11-14 17:47:26 +01:00