提交 980a19a9 编写于 作者: X Xiao Guangrong 提交者: Juan Quintela

migration: fix counting normal page for compression

The compressed page is not normal page
Reviewed-by: NPeter Xu <peterx@redhat.com>
Signed-off-by: NXiao Guangrong <xiaoguangrong@tencent.com>
Reviewed-by: NJuan Quintela <quintela@redhat.com>
Signed-off-by: NJuan Quintela <quintela@redhat.com>
上级 1d58872a
...@@ -1910,7 +1910,6 @@ retry: ...@@ -1910,7 +1910,6 @@ retry:
qemu_cond_signal(&comp_param[idx].cond); qemu_cond_signal(&comp_param[idx].cond);
qemu_mutex_unlock(&comp_param[idx].mutex); qemu_mutex_unlock(&comp_param[idx].mutex);
pages = 1; pages = 1;
ram_counters.normal++;
ram_counters.transferred += bytes_xmit; ram_counters.transferred += bytes_xmit;
break; break;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册