mirror of
https://github.com/mii443/qemu.git
synced 2025-12-09 22:18:23 +00:00
aio / timers: Rearrange timer.h & make legacy functions call non-legacy
Rearrange timer.h so it is in order by function type. Make legacy functions call non-legacy functions rather than vice-versa. Convert cpus.c to use new API. Signed-off-by: Alex Bligh <alex@alex.org.uk> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
committed by
Stefan Hajnoczi
parent
55a197dab4
commit
40daca54cd
@@ -487,7 +487,7 @@ int main_loop_wait(int nonblocking)
|
||||
slirp_pollfds_poll(gpollfds, (ret < 0));
|
||||
#endif
|
||||
|
||||
qemu_run_all_timers();
|
||||
qemu_clock_run_all_timers();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user