summaryrefslogtreecommitdiff
path: root/include/block
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2016-03-21 13:30:30 +0100
committerKevin Wolf <kwolf@redhat.com>2016-05-19 16:45:30 +0200
commit441565b2792d4ee9ee1928a8d14538be39211292 (patch)
tree1d705206c19f29bba69bf5467c73ca339d3e62b1 /include/block
parent27ccdd52598290f0f8b58be56e235aff7aebfaf3 (diff)
downloadqemu-441565b2792d4ee9ee1928a8d14538be39211292.zip
block: Move actual I/O throttling to BlockBackend
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Alberto Garcia <berto@igalia.com> Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r--include/block/throttle-groups.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/block/throttle-groups.h b/include/block/throttle-groups.h
index 840ba443ae..ac4224835b 100644
--- a/include/block/throttle-groups.h
+++ b/include/block/throttle-groups.h
@@ -40,7 +40,7 @@ void throttle_group_register_blk(BlockBackend *blk, const char *groupname);
void throttle_group_unregister_blk(BlockBackend *blk);
void throttle_group_restart_blk(BlockBackend *blk);
-void coroutine_fn throttle_group_co_io_limits_intercept(BlockDriverState *bs,
+void coroutine_fn throttle_group_co_io_limits_intercept(BlockBackend *blk,
unsigned int bytes,
bool is_write);