summary refs log tree commit diff stats
path: root/qemu-io-cmds.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2015-01-19 17:51:43 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2015-02-16 15:07:17 +0000
commitefef88b3d9ad4325172ed288032807fa88d683cc (patch)
tree65f5d4dc2357dd75bfb9fc6782afd1d97197fee1 /qemu-io-cmds.c
parenta7be17bee855f26c317e99aa6582e1dc9b8ebd71 (diff)
downloadfocaccia-qemu-efef88b3d9ad4325172ed288032807fa88d683cc.tar.gz
focaccia-qemu-efef88b3d9ad4325172ed288032807fa88d683cc.zip
qtest: Fix deadloop by running main loop AIO context's timers
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 <famz@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1421661103-29153-1-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions