From 980a19a929c313be7ade6c7653bbfe317f2dcf7d Mon Sep 17 00:00:00 2001 From: Xiao Guangrong Date: Tue, 21 Aug 2018 16:10:21 +0800 Subject: [PATCH] migration: fix counting normal page for compression The compressed page is not normal page Reviewed-by: Peter Xu Signed-off-by: Xiao Guangrong Reviewed-by: Juan Quintela Signed-off-by: Juan Quintela --- migration/ram.c | 1 - 1 file changed, 1 deletion(-) 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; } -- GitLab