diff options
author | Michael R. Hines <mrhines@us.ibm.com> | 2013-07-22 10:01:58 -0400 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2013-07-23 13:06:37 +0200 |
commit | ed4fbd10823a7b0dbded6b481a68973e47f7e14d (patch) | |
tree | 188b76dd6afb611590a5b05e33253b1163a4499e /hmp.c | |
parent | 29ae8a4133082e16970c9d4be09f4b6a15034617 (diff) | |
download | qemu-ed4fbd10823a7b0dbded6b481a68973e47f7e14d.tar.gz qemu-ed4fbd10823a7b0dbded6b481a68973e47f7e14d.tar.bz2 qemu-ed4fbd10823a7b0dbded6b481a68973e47f7e14d.zip |
rdma: account for the time spent in MIG_STATE_SETUP through QMP
Using the previous patches, we're now able to timestamp the SETUP
state. Once we have this time, let the user know about it in the
schema.
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael R. Hines <mrhines@us.ibm.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'hmp.c')
-rw-r--r-- | hmp.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -164,6 +164,10 @@ void hmp_info_migrate(Monitor *mon, const QDict *qdict) monitor_printf(mon, "downtime: %" PRIu64 " milliseconds\n", info->downtime); } + if (info->has_setup_time) { + monitor_printf(mon, "setup: %" PRIu64 " milliseconds\n", + info->setup_time); + } } if (info->has_ram) { |