Message ID | 4DC17B1E.2080305@de.ibm.com |
---|---|
State | New |
Headers | show |
Am 04.05.2011 um 18:13 schrieb Christian Borntraeger <borntraeger@de.ibm.com>: > 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 <borntraeger@de.ibm.com> Now give it a proper patch description and I'll get it in through my tree :) Alex >
--- a/target-s390x/kvm.c +++ b/target-s390x/kvm.c @@ -172,7 +172,7 @@ void kvm_arch_post_run(CPUState *env, struct kvm_run *run) int kvm_arch_process_async_events(CPUState *env) { - return 0; + return env->halted; } void kvm_s390_interrupt_internal(CPUState *env, int type, uint32_t parm,