Avoid deadlock whith iothread and icount
commit225d02cd1a34d5d87e8acefbf8e244a5d12f5f8c
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>
Sun, 23 Jan 2011 03:44:51 +0000 (23 04:44 +0100)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Sun, 23 Jan 2011 03:44:51 +0000 (23 04:44 +0100)
tree3aec7dbb5cc7d6333bcbcb015b9c3846b9749aac
parent5d0bb8239d84292380d0024acd0d510cc957dae0
Avoid deadlock whith iothread and icount

When using the iothread together with icount, make sure the
qemu_icount counter makes forward progress when the vcpu is
idle to avoid deadlocks.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
qemu-timer.c