]> git.proxmox.com Git - mirror_qemu.git/commit - blockdev.c
job: Move .complete callback to Job
authorKevin Wolf <kwolf@redhat.com>
Mon, 23 Apr 2018 10:24:16 +0000 (12:24 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 23 May 2018 12:30:50 +0000 (14:30 +0200)
commit3453d97243c72988c89a0105fa9546890eae7bd4
treeb1319fc9423528d2bcb84e8378e877f25e6bd248
parentb69f777dd9ba992fdd35828a90eefcd88c0ec332
job: Move .complete callback to Job

This moves the .complete callback that tells a READY job to complete
from BlockJobDriver to JobDriver. The wrapper function job_complete()
doesn't require anything block job specific any more and can be moved
to Job.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
block/mirror.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.c