aboutsummaryrefslogtreecommitdiff
path: root/include/migration
diff options
context:
space:
mode:
authorMichael R. Hines <mrhines@us.ibm.com>2013-06-25 21:35:30 -0400
committerJuan Quintela <quintela@redhat.com>2013-06-27 02:38:36 +0200
commit7e114f8cf24a01893226e3a4d22a288125515cfd (patch)
treeb64f77210b6475ef94e4769329aeca6a307bcedd /include/migration
parent9f05d0c3a4f9e8fcb13ed09cc350af45a627809a (diff)
downloadqemu-7e114f8cf24a01893226e3a4d22a288125515cfd.zip
qemu-7e114f8cf24a01893226e3a4d22a288125515cfd.tar.gz
qemu-7e114f8cf24a01893226e3a4d22a288125515cfd.tar.bz2
rdma: export throughput w/ MigrationStats QMP
This exposes throughput (in megabits/sec) through QMP. Reviewed-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Chegu Vinod <chegu_vinod@hp.com> Tested-by: Chegu Vinod <chegu_vinod@hp.com> Tested-by: Michael R. Hines <mrhines@us.ibm.com> Signed-off-by: Michael R. Hines <mrhines@us.ibm.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include/migration')
-rw-r--r--include/migration/migration.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/migration/migration.h b/include/migration/migration.h
index 0be28a2..535e844 100644
--- a/include/migration/migration.h
+++ b/include/migration/migration.h
@@ -40,6 +40,7 @@ struct MigrationState
int state;
MigrationParams params;
+ double mbps;
int64_t total_time;
int64_t downtime;
int64_t expected_downtime;