set migration max downtime
provide a monitor command to allow one to set the maximum
downtime he is willing to suffer during migration, in seconds.
"ms", "us", "ns" and "s" are accepted as modifiers.
This parameter will be used by ram_save_live() code to determine
a safe moment to enter stage 3
Signed-off-by: Glauber Costa <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
diff --git a/migration.h b/migration.h
index 0596f24..37c7f8e 100644
--- a/migration.h
+++ b/migration.h
@@ -57,6 +57,8 @@
uint64_t migrate_max_downtime(void);
+void do_migrate_set_downtime(Monitor *mon, const char *value);
+
void do_info_migrate(Monitor *mon);
int exec_start_incoming_migration(const char *host_port);