From 40277ca807d72b9403c18b0921809a69b491afae Mon Sep 17 00:00:00 2001 From: Wei Yang Date: Mon, 15 Jul 2019 16:07:51 +0800 Subject: [PATCH] migration/postcopy: remove redundant cpu_synchronize_all_post_init cpu_synchronize_all_post_init() is called twice in loadvm_postcopy_handle_run_bh(), so remove one redundant call. Signed-off-by: Wei Yang Reviewed-by: Juan Quintela Message-Id: <20190715080751.24304-1-richardw.yang@linux.intel.com> Signed-off-by: Juan Quintela --- migration/savevm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/migration/savevm.c b/migration/savevm.c index c0e557b4c2..79ed44d475 100644 --- a/migration/savevm.c +++ b/migration/savevm.c @@ -1863,7 +1863,6 @@ static void loadvm_postcopy_handle_run_bh(void *opaque) } trace_loadvm_postcopy_handle_run_cpu_sync(); - cpu_synchronize_all_post_init(); trace_loadvm_postcopy_handle_run_vmstart();