aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2017-03-14 18:01:38 +0100
committerJuan Quintela <quintela@redhat.com>2017-04-21 12:25:37 +0200
commit42d219d3b0211c00432c04658dc22da66785f062 (patch)
treefbc64a702f26f1eaf9e8dca8e048a7673eac26d6 /include
parentec481c6c576fbac6c4b5a7a5874e313882a49a09 (diff)
ram: Create ram_dirty_sync_count()
This is a ram field that was inside MigrationState. Move it to RAMState and make it the same that the other ram stats. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/migration/migration.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/migration/migration.h b/include/migration/migration.h
index 084d195125..2f9c9736f9 100644
--- a/include/migration/migration.h
+++ b/include/migration/migration.h
@@ -159,7 +159,6 @@ struct MigrationState
bool enabled_capabilities[MIGRATION_CAPABILITY__MAX];
int64_t xbzrle_cache_size;
int64_t setup_time;
- int64_t dirty_sync_count;
/* Count of requests incoming from destination */
int64_t postcopy_requests;
@@ -255,6 +254,7 @@ void migrate_decompress_threads_join(void);
uint64_t ram_bytes_remaining(void);
uint64_t ram_bytes_transferred(void);
uint64_t ram_bytes_total(void);
+uint64_t ram_dirty_sync_count(void);
void free_xbzrle_decoded_buf(void);
void acct_update_position(QEMUFile *f, size_t size, bool zero);