]> git.proxmox.com Git - mirror_qemu.git/blobdiff - fsdev/qemu-fsdev-throttle.c
block: remove timer canceling in throttle_config()
[mirror_qemu.git] / fsdev / qemu-fsdev-throttle.c
index 7ae4e866461b20c17a6e8c5988947330b4367fe0..49eebb5412b47661dc90f7ce3e6b4a7904f33fe0 100644 (file)
@@ -86,7 +86,7 @@ void fsdev_throttle_init(FsThrottle *fst)
                              fsdev_throttle_read_timer_cb,
                              fsdev_throttle_write_timer_cb,
                              fst);
-        throttle_config(&fst->ts, &fst->tt, &fst->cfg);
+        throttle_config(&fst->ts, QEMU_CLOCK_REALTIME, &fst->cfg);
         qemu_co_queue_init(&fst->throttled_reqs[0]);
         qemu_co_queue_init(&fst->throttled_reqs[1]);
     }