diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2011-11-27 23:18:01 -0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2011-12-06 11:40:01 -0200 |
commit | 4f0a993bf349e61632113a11e85ef588c66b421d (patch) | |
tree | 2bdd8e358fece196ce2fe41ec4f594715485ab2b /hmp.c | |
parent | 6cdedb075f7a338bff7e97b3139bae5289157ae0 (diff) | |
download | qemu-4f0a993bf349e61632113a11e85ef588c66b421d.tar.gz qemu-4f0a993bf349e61632113a11e85ef588c66b421d.tar.bz2 qemu-4f0a993bf349e61632113a11e85ef588c66b421d.zip |
qapi: Convert migrate_set_downtime
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
@@ -667,3 +667,9 @@ void hmp_migrate_cancel(Monitor *mon, const QDict *qdict) { qmp_migrate_cancel(NULL); } + +void hmp_migrate_set_downtime(Monitor *mon, const QDict *qdict) +{ + double value = qdict_get_double(qdict, "value"); + qmp_migrate_set_downtime(value, NULL); +} |