summaryrefslogtreecommitdiffstats
path: root/hmp.c
diff options
context:
space:
mode:
authorAnthony Liguori2012-07-09 18:57:34 +0200
committerAnthony Liguori2012-07-09 18:57:34 +0200
commit3f6e9a5fad982713440c636f5f7b786e1cc86ca2 (patch)
treeff7b9b9d8400e4fa6f708681d12991c40c8a7d40 /hmp.c
parentMerge remote-tracking branch 'kiszka/queues/slirp' into staging (diff)
parentMaintain the number of dirty pages (diff)
downloadqemu-3f6e9a5fad982713440c636f5f7b786e1cc86ca2.tar.gz
qemu-3f6e9a5fad982713440c636f5f7b786e1cc86ca2.tar.xz
qemu-3f6e9a5fad982713440c636f5f7b786e1cc86ca2.zip
Merge remote-tracking branch 'quintela/migration-anthony-v2' into staging
* quintela/migration-anthony-v2: Maintain the number of dirty pages dirty bitmap: abstract its use Exit loop if we have been there too long Only calculate expected_time for stage 2 Only TCG needs TLB handling No need to iterate if we already are over the limit Add tracepoints for savevm section start/end Add spent time for migration Add migration_end function Add debugging infrastructure Add save_block_hdr function Add MigrationParams structure Add missing check for host_from_stream_offset return value for RAM_SAVE_FLAG_PAGE
Diffstat (limited to 'hmp.c')
-rw-r--r--hmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hmp.c b/hmp.c
index b9cec1dafb..4c6d4ae942 100644
--- a/hmp.c
+++ b/hmp.c
@@ -145,6 +145,8 @@ void hmp_info_migrate(Monitor *mon)
info->ram->remaining >> 10);
monitor_printf(mon, "total ram: %" PRIu64 " kbytes\n",
info->ram->total >> 10);
+ monitor_printf(mon, "total time: %" PRIu64 " milliseconds\n",
+ info->ram->total_time);
}
if (info->has_disk) {