Re: [Qemu-devel] [PATCH] ppc: Fix bug in handling of PAPR hypercall exits

2012-08-07 Thread Alexander Graf
On 07.08.2012, at 06:44, David Gibson wrote: > Currently for powerpc, kvm_arch_handle_exit() always returns 1, meaning > that its caller - kvm_cpu_exec() - will always exit immediately afterwards > to the loop in qemu_kvm_cpu_thread_fn(). > > There's no need to do this. Once we've handled the h

[Qemu-devel] [PATCH] ppc: Fix bug in handling of PAPR hypercall exits

2012-08-06 Thread David Gibson
Currently for powerpc, kvm_arch_handle_exit() always returns 1, meaning that its caller - kvm_cpu_exec() - will always exit immediately afterwards to the loop in qemu_kvm_cpu_thread_fn(). There's no need to do this. Once we've handled the hypercall there's no reason we can't go straight around an