aboutsummaryrefslogtreecommitdiff
path: root/include/block/blockjob_int.h
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2018-04-12 18:01:07 +0200
committerKevin Wolf <kwolf@redhat.com>2018-05-23 14:30:49 +0200
commit8e4c87000fc515f8f65f7c8f18afb1e9270b11d6 (patch)
tree0f5244c253a78113e2ffbb8e6cdc1237467de428 /include/block/blockjob_int.h
parent33e9e9bd62d9ae00880d9e12ad8a5b7d2c00e8a5 (diff)
downloadqemu-8e4c87000fc515f8f65f7c8f18afb1e9270b11d6.zip
qemu-8e4c87000fc515f8f65f7c8f18afb1e9270b11d6.tar.gz
qemu-8e4c87000fc515f8f65f7c8f18afb1e9270b11d6.tar.bz2
job: Rename BlockJobType into JobType
QAPI types aren't externally visible, so we can rename them without causing problems. Before we add a job type to Job, rename the enum so it can be used for more than just block jobs. 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 'include/block/blockjob_int.h')
-rw-r--r--include/block/blockjob_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/block/blockjob_int.h b/include/block/blockjob_int.h
index e8eca44..8e7e0a2 100644
--- a/include/block/blockjob_int.h
+++ b/include/block/blockjob_int.h
@@ -39,7 +39,7 @@ struct BlockJobDriver {
JobDriver job_driver;
/** String describing the operation, part of query-block-jobs QMP API */
- BlockJobType job_type;
+ JobType job_type;
/** Mandatory: Entrypoint for the Coroutine. */
CoroutineEntry *start;