mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
job: Move transactions to Job
This moves the logic that implements job transactions from BlockJob to Job. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
This commit is contained in:
parent
62c9e4162a
commit
7eaa8fb57d
8 changed files with 303 additions and 324 deletions
|
@ -364,7 +364,7 @@ static void test_cancel_concluded(void)
|
|||
}
|
||||
assert(job->job.status == JOB_STATUS_PENDING);
|
||||
|
||||
block_job_finalize(job, &error_abort);
|
||||
job_finalize(&job->job, &error_abort);
|
||||
assert(job->job.status == JOB_STATUS_CONCLUDED);
|
||||
|
||||
cancel_common(s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue