diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-08-22 17:46:02 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-22 14:37:02 -0500 |
commit | c9f711a5d31e22dac932c1c01e9c0f97caff0988 (patch) | |
tree | 1d7b980c02326f221d70778ca1e7798e66439d24 /sysemu.h | |
parent | 200668ba0839e664f0e4d0bcdc55ab5a163a418a (diff) | |
download | qemu-c9f711a5d31e22dac932c1c01e9c0f97caff0988.zip qemu-c9f711a5d31e22dac932c1c01e9c0f97caff0988.tar.gz qemu-c9f711a5d31e22dac932c1c01e9c0f97caff0988.tar.bz2 |
Poll main loop after I/O events were received
Polling until select returns empty fdsets helps to reduce the switches
between iothread and vcpus. The benefit of this patch is best visible
when running an SMP guest on an SMP host in emulation mode.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'sysemu.h')
-rw-r--r-- | sysemu.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -67,7 +67,7 @@ void do_info_snapshots(Monitor *mon); void qemu_announce_self(void); -void main_loop_wait(int nonblocking); +int main_loop_wait(int nonblocking); bool qemu_savevm_state_blocked(Monitor *mon); int qemu_savevm_state_begin(Monitor *mon, QEMUFile *f, int blk_enable, |