aboutsummaryrefslogtreecommitdiff
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
parent1d58872a910cdfe8df79be5ffb4c4c6c13768f40 (diff)
downloadqemu-980a19a929c313be7ade6c7653bbfe317f2dcf7d.zip
qemu-980a19a929c313be7ade6c7653bbfe317f2dcf7d.tar.gz
qemu-980a19a929c313be7ade6c7653bbfe317f2dcf7d.tar.bz2
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>
-rw-r--r--migration/ram.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/migration/ram.c b/migration/ram.c
index 498834b..9d2ec24 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;
}