diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/block/blockjob.h | 6 | ||||
-rw-r--r-- | include/qemu/job.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/block/blockjob.h b/include/block/blockjob.h index 3f405d1fa7..d975efea20 100644 --- a/include/block/blockjob.h +++ b/include/block/blockjob.h @@ -51,12 +51,6 @@ typedef struct BlockJob { BlockBackend *blk; /** - * Set to true if the job should abort immediately without waiting - * for data to be in sync. - */ - bool force; - - /** * Set to true when the job is ready to be completed. */ bool ready; diff --git a/include/qemu/job.h b/include/qemu/job.h index 3e817beee9..2648c74281 100644 --- a/include/qemu/job.h +++ b/include/qemu/job.h @@ -97,6 +97,12 @@ typedef struct Job { */ bool cancelled; + /** + * Set to true if the job should abort immediately without waiting + * for data to be in sync. + */ + bool force_cancel; + /** Set to true when the job has deferred work to the main loop. */ bool deferred_to_main_loop; |