aboutsummaryrefslogtreecommitdiff
path: root/include/migration
diff options
context:
space:
mode:
authorMichael R. Hines <mrhines@us.ibm.com>2013-07-22 10:01:58 -0400
committerJuan Quintela <quintela@redhat.com>2013-07-23 13:06:37 +0200
commited4fbd10823a7b0dbded6b481a68973e47f7e14d (patch)
tree188b76dd6afb611590a5b05e33253b1163a4499e /include/migration
parent29ae8a4133082e16970c9d4be09f4b6a15034617 (diff)
downloadqemu-ed4fbd10823a7b0dbded6b481a68973e47f7e14d.zip
qemu-ed4fbd10823a7b0dbded6b481a68973e47f7e14d.tar.gz
qemu-ed4fbd10823a7b0dbded6b481a68973e47f7e14d.tar.bz2
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 '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 13a9629..08c772d 100644
--- a/include/migration/migration.h
+++ b/include/migration/migration.h
@@ -49,6 +49,7 @@ struct MigrationState
int64_t dirty_bytes_rate;
bool enabled_capabilities[MIGRATION_CAPABILITY_MAX];
int64_t xbzrle_cache_size;
+ int64_t setup_time;
};
void process_incoming_migration(QEMUFile *f);