From 3dc853832db7bf8ac3878e0666c639d3bc02b587 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Mon, 28 Nov 2011 11:59:37 -0200 Subject: qapi: Convert migrate_set_speed Signed-off-by: Luiz Capitulino --- hmp.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hmp.c') 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); +} -- cgit v1.2.3