]> git.proxmox.com Git - qemu.git/blobdiff - hmp-commands.hx
qmp: add block_stream command
[qemu.git] / hmp-commands.hx
index e6506fc9d3109acf67840f8884e2b837d36a7e39..5f09594756fdd244285cc602a360f5afc0be6446 100644 (file)
@@ -69,6 +69,19 @@ but should be used with extreme caution.  Note that this command only
 resizes image files, it can not resize block devices like LVM volumes.
 ETEXI
 
+    {
+        .name       = "block_stream",
+        .args_type  = "device:B,base:s?",
+        .params     = "device [base]",
+        .help       = "copy data from a backing file into a block device",
+        .mhandler.cmd = hmp_block_stream,
+    },
+
+STEXI
+@item block_stream
+@findex block_stream
+Copy data from a backing file into a block device.
+ETEXI
 
     {
         .name       = "eject",