aboutsummaryrefslogtreecommitdiff
path: root/migration.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2012-08-13 09:53:12 +0200
committerJuan Quintela <quintela@redhat.com>2012-10-17 18:34:58 +0200
commit2c52ddf1cb3057bc2c6ae256857077627f6da43a (patch)
tree21abb5231954799f23ec4c88f2cec9fd5277745e /migration.c
parent859bc7569a2d244ee6183a99b71186462049ca86 (diff)
migration: print expected downtime in info migrate
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration.c')
-rw-r--r--migration.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/migration.c b/migration.c
index fc615c8096..8d3e018dc0 100644
--- a/migration.c
+++ b/migration.c
@@ -169,6 +169,8 @@ MigrationInfo *qmp_query_migrate(Error **errp)
info->has_total_time = true;
info->total_time = qemu_get_clock_ms(rt_clock)
- s->total_time;
+ info->has_expected_downtime = true;
+ info->expected_downtime = s->expected_downtime;
info->has_ram = true;
info->ram = g_malloc0(sizeof(*info->ram));