summary refs log tree commit diff stats
path: root/qmp-commands.hx
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-01-18 14:40:49 +0000
committerKevin Wolf <kwolf@redhat.com>2012-01-26 14:49:18 +0100
commitfb5458cd10a199e55e622a906b24f8085d922c0f (patch)
treee2de2dfca92c204c38fc35efdd1574e035029c94 /qmp-commands.hx
parent370521a1d6f5537ea7271c119f3fbb7b0fa57063 (diff)
downloadfocaccia-qemu-fb5458cd10a199e55e622a906b24f8085d922c0f.tar.gz
focaccia-qemu-fb5458cd10a199e55e622a906b24f8085d922c0f.zip
qmp: add query-block-jobs
Add query-block-jobs, which shows the progress of ongoing block device
operations.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qmp-commands.hx')
-rw-r--r--qmp-commands.hx6
1 files changed, 6 insertions, 0 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx
index 0795c5d48d..bd6b6410ad 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -2014,6 +2014,12 @@ EQMP
     },
 
     {
+        .name       = "query-block-jobs",
+        .args_type  = "",
+        .mhandler.cmd_new = qmp_marshal_input_query_block_jobs,
+    },
+
+    {
         .name       = "qom-list",
         .args_type  = "path:s",
         .mhandler.cmd_new = qmp_marshal_input_qom_list,