aboutsummaryrefslogtreecommitdiff
path: root/blockjob.c
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2018-03-10 03:27:44 -0500
committerKevin Wolf <kwolf@redhat.com>2018-03-19 12:01:24 +0100
commitb40dacdc7cd1c26739265cf59a35bac032d77bb1 (patch)
tree7350db7586d57373c2648b9255ce968d9cab0266 /blockjob.c
parent11b61fbc0d1a447849f36d76e0e1d05be2dfaad2 (diff)
downloadqemu-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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/blockjob.c b/blockjob.c
index d6b8bea..bc7517c 100644
--- a/blockjob.c
+++ b/blockjob.c
@@ -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;
}