Re: [Qemu-devel] [PATCH v2] qtest: Fix deadloop by running main loop AIO context's timers

2015-02-13 Thread Stefan Hajnoczi
On Mon, Jan 19, 2015 at 05:51:43PM +0800, Fam Zheng wrote: > qemu_clock_run_timers() only takes care of main_loop_tlg, we shouldn't > forget aio timer list groups. > > Currently, the qemu_clock_deadline_ns_all (a few lines above) counts all > the timergroups of this clock type, including aio tlg,

Re: [Qemu-devel] [PATCH v2] qtest: Fix deadloop by running main loop AIO context's timers

2015-01-19 Thread Paolo Bonzini
On 19/01/2015 10:51, Fam Zheng wrote: > qemu_clock_run_timers() only takes care of main_loop_tlg, we shouldn't > forget aio timer list groups. > > Currently, the qemu_clock_deadline_ns_all (a few lines above) counts all > the timergroups of this clock type, including aio tlg, but we don't fire >

[Qemu-devel] [PATCH v2] qtest: Fix deadloop by running main loop AIO context's timers

2015-01-19 Thread Fam Zheng
qemu_clock_run_timers() only takes care of main_loop_tlg, we shouldn't forget aio timer list groups. Currently, the qemu_clock_deadline_ns_all (a few lines above) counts all the timergroups of this clock type, including aio tlg, but we don't fire them, so they are never cleared, which makes a dead