]> git.ipfire.org Git - thirdparty/qemu.git/commit - blockjob.c
job: Move state transitions to Job
authorKevin Wolf <kwolf@redhat.com>
Fri, 13 Apr 2018 15:19:31 +0000 (17:19 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 23 May 2018 12:30:49 +0000 (14:30 +0200)
commita50c2ab858fe613fb805e53b4f6b970ab936706d
tree06a64966236166b648e1c5bd1f08c240b34a0c00
parente7c1d78bbd5867804debeb7159b137fd9a6c44d3
job: Move state transitions to Job

This moves BlockJob.status and the closely related functions
(block_)job_state_transition() and (block_)job_apply_verb to Job. The
two QAPI enums are renamed to JobStatus and JobVerb.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
block/trace-events
blockjob.c
include/block/blockjob.h
include/qemu/job.h
job.c
qapi/block-core.json
tests/test-blockjob.c
trace-events