ram: Change byte_xfer_{prev,now} 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>
This commit is contained in:
parent
eac7415958
commit
c4bdf0cf4b
@ -158,7 +158,7 @@ struct RAMState {
|
||||
/* last time we did a full bitmap_sync */
|
||||
int64_t time_last_bitmap_sync;
|
||||
/* bytes transferred at start_time */
|
||||
int64_t bytes_xfer_prev;
|
||||
uint64_t bytes_xfer_prev;
|
||||
};
|
||||
typedef struct RAMState RAMState;
|
||||
|
||||
@ -660,7 +660,7 @@ static void migration_bitmap_sync(RAMState *rs)
|
||||
RAMBlock *block;
|
||||
MigrationState *s = migrate_get_current();
|
||||
int64_t end_time;
|
||||
int64_t bytes_xfer_now;
|
||||
uint64_t bytes_xfer_now;
|
||||
|
||||
rs->bitmap_sync_count++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user