mirror of https://github.com/xemu-project/xemu.git
monitor: convert do_migrate_set_downtime() to QObject
Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
b0fbf7d342
commit
c6027f56dc
|
@ -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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue