diff options
Diffstat (limited to 'util/main-loop.c')
-rw-r--r-- | util/main-loop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/main-loop.c b/util/main-loop.c index ca7bb072f9..4534c89308 100644 --- a/util/main-loop.c +++ b/util/main-loop.c @@ -28,6 +28,7 @@ #include "qemu/timer.h" #include "qemu/sockets.h" // struct in_addr needed for libslirp.h #include "sysemu/qtest.h" +#include "sysemu/cpus.h" #include "slirp/libslirp.h" #include "qemu/main-loop.h" #include "block/aio.h" @@ -143,7 +144,7 @@ int qemu_init_main_loop(Error **errp) GSource *src; Error *local_error = NULL; - init_clocks(); + init_clocks(qemu_timer_notify_cb); ret = qemu_signal_init(); if (ret) { |