summaryrefslogtreecommitdiff
path: root/migration.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2012-08-13 12:31:25 +0200
committerJuan Quintela <quintela@redhat.com>2012-10-17 18:34:58 +0200
commit8d017193e2b66a65adf53e46a6372e55470fe7fd (patch)
tree11df151e4211ec9a8b7a863c66737e713b230e38 /migration.h
parentc6bf8e0e0cf04b40a8a22426e00ebbd727331d8b (diff)
downloadqemu-8d017193e2b66a65adf53e46a6372e55470fe7fd.zip
migration: Add dirty_pages_rate to query migrate output
It indicates how many pages were dirtied during the last second. Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration.h')
-rw-r--r--migration.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/migration.h b/migration.h
index 552200c348..66d7f68bb8 100644
--- a/migration.h
+++ b/migration.h
@@ -42,6 +42,7 @@ struct MigrationState
int64_t total_time;
int64_t downtime;
int64_t expected_downtime;
+ int64_t dirty_pages_rate;
bool enabled_capabilities[MIGRATION_CAPABILITY_MAX];
int64_t xbzrle_cache_size;
};