mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
ram: Remove dirty_bytes_rate
It can be recalculated from dirty_pages_rate. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> -- Dave was the one that reviewed it O:-)
This commit is contained in:
parent
42d219d3b0
commit
abbf1d7f9b
3 changed files with 3 additions and 5 deletions
|
@ -728,7 +728,6 @@ static void migration_bitmap_sync(RAMState *rs)
|
|||
}
|
||||
s->dirty_pages_rate = rs->num_dirty_pages_period * 1000
|
||||
/ (end_time - rs->time_last_bitmap_sync);
|
||||
s->dirty_bytes_rate = s->dirty_pages_rate * TARGET_PAGE_SIZE;
|
||||
rs->time_last_bitmap_sync = end_time;
|
||||
rs->num_dirty_pages_period = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue