qemu-e2k/target-s390x
Christian Borntraeger 71b12d3197 s390x: fix smp support for kvm
Currently smp support for kvm does not work. Qemu does a kvm run even on
secondary CPUs which dont have a sane state (initial psw == 0)
triggering some program faults. Architecturally these cpus are in the stopped
state, so we should not do the kvm run ioctl. (these CPUs will be started
by a SIGP restart later during the boot process)

We need to tell the loop that this cpu should not run. Jan Kiszka pointed
out that kvm_arch_process_async_events is the right place to do.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
2011-05-20 17:35:12 +02:00
..
cpu.h s390x: Prepare cpu.h for emulation 2011-04-18 20:51:55 +02:00
exec.h s390x: Enable s390x-softmmu target 2011-04-18 20:51:59 +02:00
helper.c s390x: Enable s390x-softmmu target 2011-04-18 20:51:59 +02:00
kvm.c s390x: fix smp support for kvm 2011-05-20 17:35:12 +02:00
machine.c
op_helper.c Remove unused function parameter from cpu_restore_state 2011-04-20 10:37:03 +02:00
translate.c Remove unused function parameters from gen_pc_load and rename the function 2011-04-20 10:33:59 +02:00