diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2018-01-18 20:25:40 +0100 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2018-05-15 16:11:50 +0200 |
| commit | 18bb69287ea522ab696e1bea818b93e5eaa85745 (patch) | |
| tree | 881877ce730553c75abcf6bf5a2aa50870993874 /util/async.c | |
| parent | f05fee508f538ca262d2ab19bcd8772196efe848 (diff) | |
| download | focaccia-qemu-18bb69287ea522ab696e1bea818b93e5eaa85745.tar.gz focaccia-qemu-18bb69287ea522ab696e1bea818b93e5eaa85745.zip | |
blockjob: Implement block_job_set_speed() centrally
All block job drivers support .set_speed and all of them duplicate the same code to implement it. Move that code to blockjob.c and remove the now useless callback. 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>
Diffstat (limited to 'util/async.c')
0 files changed, 0 insertions, 0 deletions