]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/block/throttle-groups.h
throttle: Add throttle group support
[mirror_qemu.git] / include / block / throttle-groups.h
index b966ec793c989061af75d5d816694ea9bf19361e..322139a7a284b8dbbd227a9fcd4f5647910c97da 100644 (file)
@@ -36,4 +36,8 @@ void throttle_group_get_config(BlockDriverState *bs, ThrottleConfig *cfg);
 void throttle_group_register_bs(BlockDriverState *bs, const char *groupname);
 void throttle_group_unregister_bs(BlockDriverState *bs);
 
+void coroutine_fn throttle_group_co_io_limits_intercept(BlockDriverState *bs,
+                                                        unsigned int bytes,
+                                                        bool is_write);
+
 #endif