]> git.ipfire.org Git - thirdparty/qemu.git/commit
blockjob: Move RateLimit to BlockJob
authorKevin Wolf <kwolf@redhat.com>
Thu, 18 Jan 2018 19:20:24 +0000 (20:20 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 15 May 2018 14:11:50 +0000 (16:11 +0200)
commitf05fee508f538ca262d2ab19bcd8772196efe848
tree03c8ecc8f7783131226f927d62dcff6a060b6a20
parent05df8a6a2b4e36e8d69de2130e616d5ac28e8837
blockjob: Move RateLimit to BlockJob

Every block job has a RateLimit, and they all do the exact same thing
with it, so it should be common infrastructure. Move the struct field
for a start.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
block/backup.c
block/commit.c
block/mirror.c
block/stream.c
include/block/blockjob.h