[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [PATCH v2] qtest: Fix deadloop by running main loop AI
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-stable] [PATCH v2] qtest: Fix deadloop by running main loop AIO context's timers |
Date: |
Fri, 13 Feb 2015 09:46:33 +0000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
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, 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>
>
> ---
> v2: Only run QEMU_CLOCK_VIRTUAL events. (Paolo).
> ---
> cpus.c | 4 ++++
> 1 file changed, 4 insertions(+)
Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block
Stefan
pgpLVQggqzdu_.pgp
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-stable] [PATCH v2] qtest: Fix deadloop by running main loop AIO context's timers,
Stefan Hajnoczi <=