diff options
author | Juan Quintela <quintela@redhat.com> | 2017-03-28 14:59:54 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-04-21 12:25:36 +0200 |
commit | c4bdf0cf4b62a90b07f27f55d4650dc1cb3f8d7e (patch) | |
tree | 5377be864a59d52e567b1d93aa5b421249581685 /migration/ram.c | |
parent | eac741595890ac3dec3c8addd02bf34cbf8fec25 (diff) | |
download | qemu-c4bdf0cf4b62a90b07f27f55d4650dc1cb3f8d7e.zip qemu-c4bdf0cf4b62a90b07f27f55d4650dc1cb3f8d7e.tar.gz qemu-c4bdf0cf4b62a90b07f27f55d4650dc1cb3f8d7e.tar.bz2 |
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>
Diffstat (limited to 'migration/ram.c')
-rw-r--r-- | migration/ram.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/migration/ram.c b/migration/ram.c index aeef563..d13674f 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -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++; |