diff options
author | Juan Quintela <quintela@redhat.com> | 2017-03-14 18:10:16 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-04-21 12:25:38 +0200 |
commit | abbf1d7f9bb43ba5fac7a9c27b67d9a78749e67a (patch) | |
tree | 7f133a9375ecc0203f7ced4b384348eb5cf209a7 /migration/ram.c | |
parent | 42d219d3b0211c00432c04658dc22da66785f062 (diff) | |
download | qemu-abbf1d7f9bb43ba5fac7a9c27b67d9a78749e67a.zip qemu-abbf1d7f9bb43ba5fac7a9c27b67d9a78749e67a.tar.gz qemu-abbf1d7f9bb43ba5fac7a9c27b67d9a78749e67a.tar.bz2 |
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:-)
Diffstat (limited to 'migration/ram.c')
-rw-r--r-- | migration/ram.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/migration/ram.c b/migration/ram.c index 1580617..ef4f508 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -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; } |