mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-29 05:13:54 -06: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:
parent
33e9e9bd62
commit
8e4c87000f
7 changed files with 16 additions and 16 deletions
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue