]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - job-qmp.c
qemu-ga: document vsock-listen in the man page
[thirdparty/qemu.git] / job-qmp.c
index fbfed25a00067c5035bfde3d7b89c4754527159a..fecc939ebd951aa3bb863400b71c3bd27d874c84 100644 (file)
--- a/job-qmp.c
+++ b/job-qmp.c
@@ -143,8 +143,8 @@ static JobInfo *job_query_single(Job *job, Error **errp)
         .id                 = g_strdup(job->id),
         .type               = job_type(job),
         .status             = job->status,
-        .current_progress   = job->progress_current,
-        .total_progress     = job->progress_total,
+        .current_progress   = job->progress.current,
+        .total_progress     = job->progress.total,
         .has_error          = !!job->err,
         .error              = job->err ? \
                               g_strdup(error_get_pretty(job->err)) : NULL,