aboutsummaryrefslogtreecommitdiff
path: root/qmp-commands.hx
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2011-12-14 16:49:14 -0200
committerLuiz Capitulino <lcapitulino@redhat.com>2012-01-18 10:23:39 -0200
commit80047da59b17053b69e8bdc143c8fb4b3a44cb7d (patch)
tree306833f8a865b3edfc3e85a462cda8e8fa01269b /qmp-commands.hx
parent333a96ec9fd08eaa03f8de1acc41a2851ccb8096 (diff)
downloadqemu-80047da59b17053b69e8bdc143c8fb4b3a44cb7d.zip
qemu-80047da59b17053b69e8bdc143c8fb4b3a44cb7d.tar.gz
qemu-80047da59b17053b69e8bdc143c8fb4b3a44cb7d.tar.bz2
qapi: Convert block_set_io_throttle
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qmp-commands.hx')
-rw-r--r--qmp-commands.hx5
1 files changed, 1 insertions, 4 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx
index bfae81f..799e655 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -807,10 +807,7 @@ EQMP
{
.name = "block_set_io_throttle",
.args_type = "device:B,bps:l,bps_rd:l,bps_wr:l,iops:l,iops_rd:l,iops_wr:l",
- .params = "device bps bps_rd bps_wr iops iops_rd iops_wr",
- .help = "change I/O throttle limits for a block drive",
- .user_print = monitor_user_noop,
- .mhandler.cmd_new = do_block_set_io_throttle,
+ .mhandler.cmd_new = qmp_marshal_input_block_set_io_throttle,
},
SQMP