]> git.proxmox.com Git - mirror_qemu.git/blobdiff - cpus.c
replay: recording and replaying clock ticks
[mirror_qemu.git] / cpus.c
diff --git a/cpus.c b/cpus.c
index f07cac2781308b34f9eef3177d22d09c6657997e..2385caa2487c33dc126208dd0d92283064daa08e 100644 (file)
--- a/cpus.c
+++ b/cpus.c
@@ -346,7 +346,8 @@ static void icount_warp_rt(void *opaque)
 
     seqlock_write_lock(&timers_state.vm_clock_seqlock);
     if (runstate_is_running()) {
-        int64_t clock = cpu_get_clock_locked();
+        int64_t clock = REPLAY_CLOCK(REPLAY_CLOCK_VIRTUAL_RT,
+                                     cpu_get_clock_locked());
         int64_t warp_delta;
 
         warp_delta = clock - vm_clock_warp_start;