]> xenbits.xensource.com Git - qemu-upstream-4.5-testing.git/commit
Trigger exit from cpu_exec_all on pending IO events
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 1 Feb 2011 21:15:45 +0000 (22:15 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 14 Feb 2011 14:39:44 +0000 (12:39 -0200)
commit38145df24c55bffe8ba63cfa28173c9ddd5a2c2d
tree91145928f0cf43fede2ef8e96a3f26b0a6026a83
parent1745eaaa7c53c6090d53090d239d0234a7ecfd2d
Trigger exit from cpu_exec_all on pending IO events

Except for timer events, we currently do not leave the loop over all
VCPUs if an IO event was filed. That may cause unexpected IO latencies
under !CONFIG_IOTHREAD in SMP scenarios. Fix it by setting the global
exit_request which breaks the loop.

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