aboutsummaryrefslogtreecommitdiff
path: root/hmp.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 /hmp.c
parent859bc7569a2d244ee6183a99b71186462049ca86 (diff)
downloadqemu-2c52ddf1cb3057bc2c6ae256857077627f6da43a.zip
qemu-2c52ddf1cb3057bc2c6ae256857077627f6da43a.tar.gz
qemu-2c52ddf1cb3057bc2c6ae256857077627f6da43a.tar.bz2
migration: print expected downtime in info migrate
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'hmp.c')
-rw-r--r--hmp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hmp.c b/hmp.c
index a8e5aea..96e2174 100644
--- a/hmp.c
+++ b/hmp.c
@@ -152,6 +152,10 @@ void hmp_info_migrate(Monitor *mon)
monitor_printf(mon, "Migration status: %s\n", info->status);
monitor_printf(mon, "total time: %" PRIu64 " milliseconds\n",
info->total_time);
+ if (info->has_expected_downtime) {
+ monitor_printf(mon, "expected downtime: %" PRIu64 " milliseconds\n",
+ info->expected_downtime);
+ }
if (info->has_downtime) {
monitor_printf(mon, "downtime: %" PRIu64 " milliseconds\n",
info->downtime);