summaryrefslogtreecommitdiffstats
path: root/migration/ram.c
diff options
context:
space:
mode:
authorXiao Guangrong2018-08-21 10:10:21 +0200
committerJuan Quintela2018-08-22 12:34:21 +0200
commit980a19a929c313be7ade6c7653bbfe317f2dcf7d (patch)
tree24f24db71a2705569f737ed36ec616a7cdbe38f9 /migration/ram.c
parentmigration: do not wait for free thread (diff)
downloadqemu-980a19a929c313be7ade6c7653bbfe317f2dcf7d.tar.gz
qemu-980a19a929c313be7ade6c7653bbfe317f2dcf7d.tar.xz
qemu-980a19a929c313be7ade6c7653bbfe317f2dcf7d.zip
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;
}