diff options
Diffstat (limited to 'migration/migration.h')
-rw-r--r-- | migration/migration.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/migration/migration.h b/migration/migration.h index 0aad12f9a1..f2bc1aaf85 100644 --- a/migration/migration.h +++ b/migration/migration.h @@ -102,6 +102,17 @@ struct MigrationState QEMUBH *cleanup_bh; QEMUFile *to_dst_file; + /* bytes already send at the beggining of current interation */ + uint64_t iteration_initial_bytes; + /* time at the start of current iteration */ + int64_t iteration_start_time; + /* + * The final stage happens when the remaining data is smaller than + * this threshold; it's calculated from the requested downtime and + * measured bandwidth + */ + int64_t threshold_size; + /* params from 'migrate-set-parameters' */ MigrationParameters parameters; |