[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] qtest: Fix deadloop by running main loop AIO co
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] qtest: Fix deadloop by running main loop AIO context's timers |
Date: |
Fri, 16 Jan 2015 13:26:11 +0000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, Jan 16, 2015 at 04:01:17PM +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, but we don't fire
> them, so they are never cleared, which makes a dead loop.
>
> For example, this function hangs when trying to drive throttled block
> request queue with qtest clock_step.
>
> Signed-off-by: Fam Zheng <address@hidden>
> ---
> cpus.c | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Stefan Hajnoczi <address@hidden>
pgpVajwkxf3KZ.pgp
Description: PGP signature