mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
qapi: Convert migrate_set_downtime
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
parent
6cdedb075f
commit
4f0a993bf3
7 changed files with 26 additions and 18 deletions
6
hmp.c
6
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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue