aboutsummaryrefslogtreecommitdiff
path: root/hmp.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2012-08-18 13:17:10 +0200
committerLuiz Capitulino <lcapitulino@redhat.com>2012-08-21 15:06:24 -0300
commit7aa939af39e20eeca98fced59708a87c64267f54 (patch)
treef6d5b1d8087d9e97ad13da4fc5ecaed529703066 /hmp.c
parentb2dc64c391843f6499069f0ba77ad0a8c9560c86 (diff)
downloadqemu-7aa939af39e20eeca98fced59708a87c64267f54.zip
qemu-7aa939af39e20eeca98fced59708a87c64267f54.tar.gz
qemu-7aa939af39e20eeca98fced59708a87c64267f54.tar.bz2
migration: move total_time from ram stats to migration info
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hmp.c')
-rw-r--r--hmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hmp.c b/hmp.c
index a9d5675..81c8acb 100644
--- a/hmp.c
+++ b/hmp.c
@@ -149,6 +149,8 @@ void hmp_info_migrate(Monitor *mon)
if (info->has_status) {
monitor_printf(mon, "Migration status: %s\n", info->status);
+ monitor_printf(mon, "total time: %" PRIu64 " milliseconds\n",
+ info->total_time);
}
if (info->has_ram) {
@@ -158,8 +160,6 @@ 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);
monitor_printf(mon, "duplicate: %" PRIu64 " pages\n",
info->ram->duplicate);
monitor_printf(mon, "normal: %" PRIu64 " pages\n",