aboutsummaryrefslogtreecommitdiff
path: root/include/qemu
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2018-04-19 16:09:52 +0200
committerKevin Wolf <kwolf@redhat.com>2018-05-23 14:30:50 +0200
commit62c9e4162a7bc26a1389e50d17d3b2637028bbc3 (patch)
tree8e9f77148055dc3e0805b506b16f9739cb32155a /include/qemu
parent6a74c075aca731e7e945201a4ae2336b8e328433 (diff)
downloadqemu-62c9e4162a7bc26a1389e50d17d3b2637028bbc3.zip
qemu-62c9e4162a7bc26a1389e50d17d3b2637028bbc3.tar.gz
qemu-62c9e4162a7bc26a1389e50d17d3b2637028bbc3.tar.bz2
job: Switch transactions to JobTxn
This doesn't actually move any transaction code to Job yet, but it renames the type for transactions from BlockJobTxn to JobTxn and makes them contain Jobs rather than BlockJobs Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include/qemu')
-rw-r--r--include/qemu/job.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/qemu/job.h b/include/qemu/job.h
index 17e2cec..d4aa7fa 100644
--- a/include/qemu/job.h
+++ b/include/qemu/job.h
@@ -132,6 +132,9 @@ typedef struct Job {
/** Element of the list of jobs */
QLIST_ENTRY(Job) job_list;
+
+ /** Element of the list of jobs in a job transaction */
+ QLIST_ENTRY(Job) txn_list;
} Job;
/**