mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
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>
This commit is contained in:
@ -218,7 +218,7 @@ static const BlockJobDriver commit_job_driver = {
|
||||
.job_driver = {
|
||||
.instance_size = sizeof(CommitBlockJob),
|
||||
},
|
||||
.job_type = BLOCK_JOB_TYPE_COMMIT,
|
||||
.job_type = JOB_TYPE_COMMIT,
|
||||
.start = commit_run,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user