]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
Leave inner main_loop faster on pending requests
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 1 Feb 2011 21:15:46 +0000 (22:15 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 14 Feb 2011 14:39:44 +0000 (12:39 -0200)
commit8e1b90ecc59573c4c5e9fc4934b4e30476b43e2f
tree8b242421bcfbfb1aa9f6319ebe6ab649a9e95fda
parent38145df24c55bffe8ba63cfa28173c9ddd5a2c2d
Leave inner main_loop faster on pending requests

If there is any pending request that requires us to leave the inner loop
if main_loop, makes sure we do this as soon as possible by enforcing
non-blocking IO processing.

At this change, move variable definitions out of the inner loop to
improve readability.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
vl.c