mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
migration: print total downtime for final phase of migration
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Orit Wasserman <owasserm@redhat.com>
This commit is contained in:
parent
97d4d961d9
commit
9c5a9fcf53
5 changed files with 19 additions and 2 deletions
4
hmp.c
4
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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue