migration: print expected downtime in info migrate
Signed-off-by: Juan Quintela <quintela@redhat.com>
diff --git a/hmp.c b/hmp.c
index a8e5aea..96e2174 100644
--- a/hmp.c
+++ b/hmp.c
@@ -152,6 +152,10 @@
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);