diff options
author | John Snow <jsnow@redhat.com> | 2018-03-10 03:27:44 -0500 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-03-19 12:01:24 +0100 |
commit | b40dacdc7cd1c26739265cf59a35bac032d77bb1 (patch) | |
tree | 7350db7586d57373c2648b9255ce968d9cab0266 /blockjob.c | |
parent | 11b61fbc0d1a447849f36d76e0e1d05be2dfaad2 (diff) | |
download | qemu-b40dacdc7cd1c26739265cf59a35bac032d77bb1.zip qemu-b40dacdc7cd1c26739265cf59a35bac032d77bb1.tar.gz qemu-b40dacdc7cd1c26739265cf59a35bac032d77bb1.tar.bz2 |
blockjobs: Expose manual property
Expose the "manual" property via QAPI for the backup-related jobs.
As of this commit, this allows the management API to request the
"concluded" and "dismiss" semantics for backup jobs.
Signed-off-by: John Snow <jsnow@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'blockjob.c')
-rw-r--r-- | blockjob.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -821,6 +821,8 @@ BlockJobInfo *block_job_query(BlockJob *job, Error **errp) info->io_status = job->iostatus; info->ready = job->ready; info->status = job->status; + info->auto_finalize = job->auto_finalize; + info->auto_dismiss = job->auto_dismiss; return info; } |