]> git.proxmox.com Git - qemu.git/blobdiff - hmp.c
migration: print total downtime for final phase of migration
[qemu.git] / hmp.c
diff --git a/hmp.c b/hmp.c
index 70bdec24330e310e6984a3a72b75fbe0c523846e..a8e5aea7c341ec70d87803e9cebb359569306758 100644 (file)
--- 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_downtime) {
+            monitor_printf(mon, "downtime: %" PRIu64 " milliseconds\n",
+                           info->downtime);
+        }
     }
 
     if (info->has_ram) {