mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
200668ba08
commit
c9f711a5d3
2 changed files with 9 additions and 5 deletions
2
sysemu.h
2
sysemu.h
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue