]> git.ipfire.org Git - thirdparty/qemu.git/commit
block: Move throttling fields from BDS to BB
authorKevin Wolf <kwolf@redhat.com>
Mon, 21 Mar 2016 11:56:44 +0000 (12:56 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 19 May 2016 14:45:30 +0000 (16:45 +0200)
commit27ccdd52598290f0f8b58be56e235aff7aebfaf3
tree3eae4aa48f08ad96ad0a9461ea52cf1ef160d0fc
parent49d2165d7d6b589d1ea28b15a8874c417bdc55ed
block: Move throttling fields from BDS to BB

This patch changes where the throttling state is stored (used to be the
BlockDriverState, now it is the BlockBackend), but it doesn't actually
make it a BB level feature yet. For example, throttling is still
disabled when the BDS is detached from the BB.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
block.c
block/block-backend.c
block/io.c
block/qapi.c
block/throttle-groups.c
blockdev.c
include/block/block_int.h
include/block/throttle-groups.h
include/sysemu/block-backend.h
tests/test-throttle.c