]> Git Repo - qemu.git/blobdiff - qemu-timer.c
block: initialize qcrypto API at startup
[qemu.git] / qemu-timer.c
index e98ecc973381bfd6595430d5f58404d58bb99411..4441fe66fffb0536b9fef765affdf1f188e210dc 100644 (file)
@@ -394,7 +394,9 @@ static bool timer_mod_ns_locked(QEMUTimerList *timer_list,
 static void timerlist_rearm(QEMUTimerList *timer_list)
 {
     /* Interrupt execution to force deadline recalculation.  */
-    qemu_clock_warp(timer_list->clock->type);
+    if (timer_list->clock->type == QEMU_CLOCK_VIRTUAL) {
+        qemu_start_warp_timer();
+    }
     timerlist_notify(timer_list);
 }
 
This page took 0.02203 seconds and 4 git commands to generate.