diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2010-11-30 15:25:34 -0600 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-11-30 15:25:34 -0600 |
commit | 09fa35e5cdc7d17ed3e1528ca743893ae77a0ea2 (patch) | |
tree | b11bb495700b297a4d49692bfd8d6070a1b74e0b /hmp-commands.hx | |
parent | 9233da785f55c924c5850cd1ce1b7f5f200d631b (diff) | |
parent | b76876e602ca09ff848d99595a506feb1fd54ff4 (diff) | |
download | qemu-09fa35e5cdc7d17ed3e1528ca743893ae77a0ea2.zip qemu-09fa35e5cdc7d17ed3e1528ca743893ae77a0ea2.tar.gz qemu-09fa35e5cdc7d17ed3e1528ca743893ae77a0ea2.tar.bz2 |
Merge remote branch 'kwolf/for-anthony' into staging
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r-- | hmp-commands.hx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx index e5585ba..23024ba 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -68,6 +68,24 @@ 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 + + { .name = "change", .args_type = "device:B,target:F,arg:s?", .params = "device filename [format]", |