summaryrefslogtreecommitdiff
path: root/hmp.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2011-11-28 11:59:37 -0200
committerLuiz Capitulino <lcapitulino@redhat.com>2011-12-06 11:40:01 -0200
commit3dc853832db7bf8ac3878e0666c639d3bc02b587 (patch)
tree3a7cfd6a4412b73c1cedde073c18f8bb1be0b274 /hmp.c
parent4f0a993bf349e61632113a11e85ef588c66b421d (diff)
downloadqemu-3dc853832db7bf8ac3878e0666c639d3bc02b587.tar.gz
qemu-3dc853832db7bf8ac3878e0666c639d3bc02b587.tar.bz2
qemu-3dc853832db7bf8ac3878e0666c639d3bc02b587.zip
qapi: Convert migrate_set_speed
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hmp.c')
-rw-r--r--hmp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/hmp.c b/hmp.c
index 04e6b73810..e7659d5ffc 100644
--- a/hmp.c
+++ b/hmp.c
@@ -673,3 +673,9 @@ void hmp_migrate_set_downtime(Monitor *mon, const QDict *qdict)
double value = qdict_get_double(qdict, "value");
qmp_migrate_set_downtime(value, NULL);
}
+
+void hmp_migrate_set_speed(Monitor *mon, const QDict *qdict)
+{
+ int64_t value = qdict_get_int(qdict, "value");
+ qmp_migrate_set_speed(value, NULL);
+}