[Qemu-devel] [RESEND][PATCH] Replace qemu_system_cond with VCPU stop mechanism

2011-08-22 Thread Jan Kiszka
We can express the VCPU thread wakeup with the stop mechanism, saving both qemu_system_ready and the qemu_system_cond. For KVM threads, we can just enter the main loop as long as the thread is stopped. The central TCG thread is better held back before the loop as there can be side effects of the se

Re: [Qemu-devel] [RESEND][PATCH] Replace qemu_system_cond with VCPU stop mechanism

2011-08-22 Thread Avi Kivity
On 08/22/2011 06:46 PM, Jan Kiszka wrote: We can express the VCPU thread wakeup with the stop mechanism, saving both qemu_system_ready and the qemu_system_cond. For KVM threads, we can just enter the main loop as long as the thread is stopped. The central TCG thread is better held back before the