summaryrefslogtreecommitdiff
path: root/qemu-monitor.hx
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-12-18 14:51:49 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-19 08:26:03 -0600
commit9faedf66c2b0de504a3367ba26924ac56e9d00fd (patch)
treeff8c9789e56c10a9611eed5bbc9f1be120c3496e /qemu-monitor.hx
parent9667b0d13136d38f70d96dddbee7baf8a4745f9e (diff)
downloadqemu-9faedf66c2b0de504a3367ba26924ac56e9d00fd.tar.gz
qemu-9faedf66c2b0de504a3367ba26924ac56e9d00fd.tar.bz2
qemu-9faedf66c2b0de504a3367ba26924ac56e9d00fd.zip
Revert "monitor: Convert do_migrate_set_speed() to QObject"
This reverts commit 3a4921047d514c336531c304bec362c4d138ebcc. From Luiz: do_migrate_set_speed() accepts a suffix for the 'value' argument and this is not good for QMP. We will have to add a new argument type to handle that and this will have to wait for 0.13. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-monitor.hx')
-rw-r--r--qemu-monitor.hx3
1 files changed, 1 insertions, 2 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index aac0f3e510..1aa78186ba 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -763,8 +763,7 @@ ETEXI
.args_type = "value:s",
.params = "value",
.help = "set maximum speed (in bytes) for migrations",
- .user_print = monitor_user_noop,
- .mhandler.cmd_new = do_migrate_set_speed,
+ .mhandler.cmd = do_migrate_set_speed,
},
STEXI