From: Wei Yang Date: Mon, 15 Jul 2019 08:07:51 +0000 (+0800) Subject: migration/postcopy: remove redundant cpu_synchronize_all_post_init X-Git-Tag: v4.1.0-rc1~7^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40277ca807d72b9403c18b0921809a69b491afae;p=thirdparty%2Fqemu.git 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 --- diff --git a/migration/savevm.c b/migration/savevm.c index c0e557b4c26..79ed44d4757 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();