]> git.ipfire.org Git - thirdparty/qemu.git/commit - blockjob.c
job: Move pause/resume functions to Job
authorKevin Wolf <kwolf@redhat.com>
Wed, 18 Apr 2018 15:10:26 +0000 (17:10 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 23 May 2018 12:30:50 +0000 (14:30 +0200)
commitb15de82867975e0b4acf644b5ee36d84904b6612
tree7d2052b01d9021df82c698827b795149bbd2f0a4
parent5d43e86e11f488fda7956b13160e0c0105a84845
job: Move pause/resume functions to Job

While we already moved the state related to job pausing to Job, the
functions to do were still BlockJob only. This commit moves them over to
Job.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
13 files changed:
block/backup.c
block/commit.c
block/mirror.c
block/stream.c
blockdev.c
blockjob.c
include/block/blockjob.h
include/block/blockjob_int.h
include/qemu/job.h
job.c
tests/test-bdrv-drain.c
tests/test-blockjob-txn.c
tests/test-blockjob.c