diff options
-rw-r--r-- | migration.c | 3 | ||||
-rw-r--r-- | migration.h | 3 | ||||
-rw-r--r-- | qemu-monitor.hx | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/migration.c b/migration.c index 7551953b5a..5b28e42f58 100644 --- a/migration.c +++ b/migration.c @@ -132,7 +132,8 @@ uint64_t migrate_max_downtime(void) return max_downtime; } -void do_migrate_set_downtime(Monitor *mon, const QDict *qdict) +void do_migrate_set_downtime(Monitor *mon, const QDict *qdict, + QObject **ret_data) { double d; diff --git a/migration.h b/migration.h index 3ac208bf5e..65572c147c 100644 --- a/migration.h +++ b/migration.h @@ -60,7 +60,8 @@ void do_migrate_set_speed(Monitor *mon, const QDict *qdict, QObject **ret_data); uint64_t migrate_max_downtime(void); -void do_migrate_set_downtime(Monitor *mon, const QDict *qdict); +void do_migrate_set_downtime(Monitor *mon, const QDict *qdict, + QObject **ret_data); void do_info_migrate_print(Monitor *mon, const QObject *data); diff --git a/qemu-monitor.hx b/qemu-monitor.hx index 2bf89c7258..e5bff8e9f1 100644 --- a/qemu-monitor.hx +++ b/qemu-monitor.hx @@ -778,7 +778,8 @@ ETEXI .args_type = "value:T", .params = "value", .help = "set maximum tolerated downtime (in seconds) for migrations", - .mhandler.cmd = do_migrate_set_downtime, + .user_print = monitor_user_noop, + .mhandler.cmd_new = do_migrate_set_downtime, }, STEXI |