Re: [Qemu-devel] s390x kvm and smp

2011-05-04 Thread Alexander Graf
Am 04.05.2011 um 18:13 schrieb Christian Borntraeger : > On 04/05/11 12:59, Jan Kiszka wrote: >> s390 just need to return a meaningful value from >> kvm_arch_process_async_events, e.g. env->halted, see other archs. > > Yes indeed. This patch fixes smp for kvm on s390x. > > Signed-off-by: Chr

Re: [Qemu-devel] s390x kvm and smp

2011-05-04 Thread Christian Borntraeger
On 04/05/11 12:59, Jan Kiszka wrote: > s390 just need to return a meaningful value from > kvm_arch_process_async_events, e.g. env->halted, see other archs. Yes indeed. This patch fixes smp for kvm on s390x. Signed-off-by: Christian Borntraeger --- a/target-s390x/kvm.c +++ b/target-s390x/kvm.c @

Re: [Qemu-devel] s390x kvm and smp

2011-05-04 Thread Jan Kiszka
On 2011-05-04 12:43, Christian Borntraeger wrote: > Alex, > > I have trouble getting kvm smp support running. Turns out that 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

[Qemu-devel] s390x kvm and smp

2011-05-04 Thread Christian Borntraeger
Alex, I have trouble getting kvm smp support running. Turns out that 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 KVM_RUN. (these CPUs will be star