]> git.proxmox.com Git - qemu.git/blobdiff - hmp-commands.hx
block: add block-job-complete
[qemu.git] / hmp-commands.hx
index e0b537d0cc5dba778465ad12f67a24c3398acf79..fb2f2372c0c7aac9d96458b52a9833b162d48587 100644 (file)
@@ -109,7 +109,22 @@ ETEXI
 STEXI
 @item block_job_cancel
 @findex block_job_cancel
-Stop an active block streaming operation.
+Stop an active background block operation (streaming, mirroring).
+ETEXI
+
+    {
+        .name       = "block_job_complete",
+        .args_type  = "device:B",
+        .params     = "device",
+        .help       = "stop an active background block operation",
+        .mhandler.cmd = hmp_block_job_complete,
+    },
+
+STEXI
+@item block_job_complete
+@findex block_job_complete
+Manually trigger completion of an active background block operation.
+For mirroring, this will switch the device to the destination path.
 ETEXI
 
     {