diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-03-21 13:53:52 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-05-19 16:45:30 +0200 |
commit | 97148076e8beebbcab11e5cb581d8508722143fc (patch) | |
tree | 91559d8ee9a2eb38d10c37dae15b530c93bae092 /block.c | |
parent | 441565b2792d4ee9ee1928a8d14538be39211292 (diff) | |
download | qemu-97148076e8beebbcab11e5cb581d8508722143fc.zip qemu-97148076e8beebbcab11e5cb581d8508722143fc.tar.gz qemu-97148076e8beebbcab11e5cb581d8508722143fc.tar.bz2 |
block: Move I/O throttling configuration functions 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 'block.c')
-rw-r--r-- | block.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2123,7 +2123,7 @@ static void bdrv_close(BlockDriverState *bs) /* Disable I/O limits and drain all pending throttled requests */ if (bs->blk && blk_get_public(bs->blk)->throttle_state) { - bdrv_io_limits_disable(bs); + blk_io_limits_disable(bs->blk); } bdrv_drained_begin(bs); /* complete I/O */ |