diff options
author | Juan Quintela <quintela@redhat.com> | 2012-05-21 22:01:07 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2012-06-29 13:27:28 +0200 |
commit | d5f8a5701d3690b5ec0c34b6a5c0b5a24d274540 (patch) | |
tree | 77fe57f9c1998f798515868028554a70ba5dc57b /migration.h | |
parent | 8e21cd32005f6be7475349eaeadde8d4ec8cf2e4 (diff) | |
download | hqemu-d5f8a5701d3690b5ec0c34b6a5c0b5a24d274540.zip hqemu-d5f8a5701d3690b5ec0c34b6a5c0b5a24d274540.tar.gz |
Add spent time for migration
We add time spent for migration to the output of "info migrate"
command. 'total_time' means time since the start fo migration if
migration is 'active', and total time of migration if migration is
completed. As we are also interested in transferred ram when
migration completes, adding all ram statistics
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration.h')
-rw-r--r-- | migration.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/migration.h b/migration.h index 35207bd..de13004 100644 --- a/migration.h +++ b/migration.h @@ -37,6 +37,7 @@ struct MigrationState int (*write)(MigrationState *s, const void *buff, size_t size); void *opaque; MigrationParams params; + int64_t total_time; }; void process_incoming_migration(QEMUFile *f); |