diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2011-11-28 11:59:37 -0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2011-12-06 11:40:01 -0200 |
commit | 3dc853832db7bf8ac3878e0666c639d3bc02b587 (patch) | |
tree | 3a7cfd6a4412b73c1cedde073c18f8bb1be0b274 /hmp.c | |
parent | 4f0a993bf349e61632113a11e85ef588c66b421d (diff) | |
download | qemu-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.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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); +} |