From 4f0a993bf349e61632113a11e85ef588c66b421d Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Sun, 27 Nov 2011 23:18:01 -0200 Subject: qapi: Convert migrate_set_downtime 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 92bb08fe6f..04e6b73810 100644 --- a/hmp.c +++ b/hmp.c @@ -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); +} -- cgit v1.2.3