aboutsummaryrefslogtreecommitdiff
path: root/migration
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2017-03-28 15:05:53 +0200
committerJuan Quintela <quintela@redhat.com>2017-04-21 12:25:36 +0200
commit68908ed665f4d97afb271c5d5b564d951951538c (patch)
tree4eda6ba2f9d6b85aef9961176af5a056b236af23 /migration
parenta66cd90c74f2a521d2441ba591f822cc93291cab (diff)
ram: Change num_dirty_pages_period type to uint64_t
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'migration')
-rw-r--r--migration/ram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/ram.c b/migration/ram.c
index d6cf032342..9a823558db 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -160,7 +160,7 @@ struct RAMState {
/* bytes transferred at start_time */
uint64_t bytes_xfer_prev;
/* number of dirty pages since start_time */
- int64_t num_dirty_pages_period;
+ uint64_t num_dirty_pages_period;
};
typedef struct RAMState RAMState;