aboutsummaryrefslogtreecommitdiff
path: root/migration/ram.c
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@tencent.com>2018-08-21 16:10:21 +0800
committerJuan Quintela <quintela@redhat.com>2018-08-22 12:34:21 +0200
commit980a19a929c313be7ade6c7653bbfe317f2dcf7d (patch)
tree24f24db71a2705569f737ed36ec616a7cdbe38f9 /migration/ram.c
parent1d58872a910cdfe8df79be5ffb4c4c6c13768f40 (diff)
migration: fix counting normal page for compression
The compressed page is not normal page Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Xiao Guangrong <xiaoguangrong@tencent.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/ram.c')
-rw-r--r--migration/ram.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/migration/ram.c b/migration/ram.c
index 498834bdbe..9d2ec247ec 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -1910,7 +1910,6 @@ retry:
qemu_cond_signal(&comp_param[idx].cond);
qemu_mutex_unlock(&comp_param[idx].mutex);
pages = 1;
- ram_counters.normal++;
ram_counters.transferred += bytes_xmit;
break;
}