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

2011-08-22 Thread Anthony Liguori
On 08/22/2011 11:35 AM, Jan Kiszka wrote: On 2011-08-22 18:18, Avi Kivity wrote: 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 l

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

2011-08-22 Thread Jan Kiszka
On 2011-08-22 18:18, Avi Kivity wrote: > 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 c