commit | 3dc853832db7bf8ac3878e0666c639d3bc02b587 | [log] [tgz] |
---|---|---|
author | Luiz Capitulino <lcapitulino@redhat.com> | Mon Nov 28 11:59:37 2011 -0200 |
committer | Luiz Capitulino <lcapitulino@redhat.com> | Tue Dec 06 11:40:01 2011 -0200 |
tree | 3a7cfd6a4412b73c1cedde073c18f8bb1be0b274 | |
parent | 4f0a993bf349e61632113a11e85ef588c66b421d [diff] [blame] |
qapi: Convert migrate_set_speed Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
diff --git a/hmp.c b/hmp.c index 04e6b73..e7659d5 100644 --- a/hmp.c +++ b/hmp.c
@@ -673,3 +673,9 @@ 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); +}