]> git.proxmox.com Git - mirror_qemu.git/commit - cpus.c
tcg: add kick timer for single-threaded vCPU emulation
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 23 Feb 2017 18:29:09 +0000 (18:29 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 24 Feb 2017 10:32:45 +0000 (10:32 +0000)
commit6546706d28bbcec5c14601b446c0a1cde5256597
treee5297c60dbd9958bb6a5d8223995f689fb5a74cb
parent8d4e9146b3568022ea5730d92841345d41275d66
tcg: add kick timer for single-threaded vCPU emulation

Currently we rely on the side effect of the main loop grabbing the
iothread_mutex to give any long running basic block chains a kick to
ensure the next vCPU is scheduled. As this code is being re-factored and
rationalised we now do it explicitly here.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Pranith Kumar <bobby.prani@gmail.com>
cpus.c