diff options
Diffstat (limited to 'include/block/throttle-groups.h')
-rw-r--r-- | include/block/throttle-groups.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/block/throttle-groups.h b/include/block/throttle-groups.h index b966ec793c..322139a7a2 100644 --- a/include/block/throttle-groups.h +++ b/include/block/throttle-groups.h @@ -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 |