]> Git Repo - qemu.git/blobdiff - fsdev/qemu-fsdev-throttle.c
Include qemu/main-loop.h less
[qemu.git] / fsdev / qemu-fsdev-throttle.c
index 49eebb5412b47661dc90f7ce3e6b4a7904f33fe0..fe1d76dc76e74535805a372e3d3edfccf5163a72 100644 (file)
 #include "qemu/error-report.h"
 #include "qemu-fsdev-throttle.h"
 #include "qemu/iov.h"
+#include "qemu/main-loop.h"
+#include "qemu/option.h"
 
 static void fsdev_throttle_read_timer_cb(void *opaque)
 {
     FsThrottle *fst = opaque;
-    qemu_co_enter_next(&fst->throttled_reqs[false]);
+    qemu_co_enter_next(&fst->throttled_reqs[false], NULL);
 }
 
 static void fsdev_throttle_write_timer_cb(void *opaque)
 {
     FsThrottle *fst = opaque;
-    qemu_co_enter_next(&fst->throttled_reqs[true]);
+    qemu_co_enter_next(&fst->throttled_reqs[true], NULL);
 }
 
 void fsdev_throttle_parse_opts(QemuOpts *opts, FsThrottle *fst, Error **errp)
This page took 0.022792 seconds and 4 git commands to generate.