summaryrefslogtreecommitdiff
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:28 -0600
commitaac2ad563abadac1ae135714dba6149d419d7811 (patch)
treed9313a216596253aa2e9a4d3573236fb64a28780 /migration.c
parente1000: Don't muck with PCI commmand register (diff)
downloadqemu-kvm-aac2ad563abadac1ae135714dba6149d419d7811.tar.gz
qemu-kvm-aac2ad563abadac1ae135714dba6149d419d7811.tar.bz2
qemu-kvm-aac2ad563abadac1ae135714dba6149d419d7811.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> (cherry picked from commit 46ee2295678af629a2869e4e331e4e002bcc31fd)
Diffstat (limited to 'migration.c')
-rw-r--r--migration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration.c b/migration.c
index fda61e642..598f8df5c 100644
--- a/migration.c
+++ b/migration.c
@@ -106,7 +106,7 @@ void do_migrate_cancel(Monitor *mon, const QDict *qdict, QObject **ret_data)
s->cancel(s);
}
-void do_migrate_set_speed(Monitor *mon, const QDict *qdict, QObject **ret_data)
+void do_migrate_set_speed(Monitor *mon, const QDict *qdict)
{
double d;
char *ptr;