mirror of
https://github.com/qemu/qemu.git
synced 2024-11-30 07:13:38 +08:00
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>
This commit is contained in:
parent
a66cd90c74
commit
68908ed665
@ -356,7 +356,7 @@ static inline
|
||||
uint64_t cpu_physical_memory_sync_dirty_bitmap(unsigned long *dest,
|
||||
ram_addr_t start,
|
||||
ram_addr_t length,
|
||||
int64_t *real_dirty_pages)
|
||||
uint64_t *real_dirty_pages)
|
||||
{
|
||||
ram_addr_t addr;
|
||||
unsigned long page = BIT_WORD(start >> TARGET_PAGE_BITS);
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user