From 2ea42952ee131b90c5286203d5d38deb66d32aec Mon Sep 17 00:00:00 2001 From: Glauber Costa Date: Thu, 28 May 2009 15:22:58 -0400 Subject: 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 Signed-off-by: Anthony Liguori --- migration.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'migration.h') diff --git a/migration.h b/migration.h index 0596f24636..37c7f8e158 100644 --- a/migration.h +++ b/migration.h @@ -57,6 +57,8 @@ void do_migrate_set_speed(Monitor *mon, const char *value); 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); -- cgit v1.2.3