]> git.proxmox.com Git - mirror_qemu.git/blobdiff - fsdev/qemu-fsdev-throttle.c
Merge remote-tracking branch 'remotes/kraxel/tags/ui-20181029-pull-request' into...
[mirror_qemu.git] / fsdev / qemu-fsdev-throttle.c
index 49eebb5412b47661dc90f7ce3e6b4a7904f33fe0..cfd86418aca71138373f97fc1b7e5f6e57539731 100644 (file)
 #include "qemu/error-report.h"
 #include "qemu-fsdev-throttle.h"
 #include "qemu/iov.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)