This is similar to what aio_poll does in the stand-alone case.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
progress = true;
}
- /* Run timers */
- progress |= timerlistgroup_run_timers(&ctx->tlg);
-
/*
* Then dispatch any pending callbacks from the GSource.
*
}
}
+ /* Run timers */
+ progress |= timerlistgroup_run_timers(&ctx->tlg);
+
if (progress && !blocking) {
return true;
}