]> git.proxmox.com Git - qemu.git/blobdiff - hmp-commands.hx
ide: Set bus master inactive on error
[qemu.git] / hmp-commands.hx
index 81999aa1a9a5d6ac71cb5249a68866e815ab820b..23024ba6f2783d80e26e409f1677ca04ef601136 100644 (file)
@@ -65,6 +65,24 @@ STEXI
 @item eject [-f] @var{device}
 @findex eject
 Eject a removable medium (use -f to force it).
+ETEXI
+
+    {
+        .name       = "drive_del",
+        .args_type  = "id:s",
+        .params     = "device",
+        .help       = "remove host block device",
+        .user_print = monitor_user_noop,
+        .mhandler.cmd_new = do_drive_del,
+    },
+
+STEXI
+@item drive_del @var{device}
+@findex drive_del
+Remove host block device.  The result is that guest generated IO is no longer
+submitted against the host device underlying the disk.  Once a drive has
+been deleted, the QEMU Block layer returns -EIO which results in IO
+errors in the guest for applications that are reading/writing to the device.
 ETEXI
 
     {
@@ -754,9 +772,10 @@ ETEXI
 
     {
         .name       = "migrate_set_speed",
-        .args_type  = "value:f",
+        .args_type  = "value:o",
         .params     = "value",
-        .help       = "set maximum speed (in bytes) for migrations",
+        .help       = "set maximum speed (in bytes) for migrations. "
+       "Defaults to MB if no size suffix is specified, ie. B/K/M/G/T",
         .user_print = monitor_user_noop,
         .mhandler.cmd_new = do_migrate_set_speed,
     },