]> git.proxmox.com Git - mirror_qemu.git/commitdiff
migration/postcopy: remove redundant cpu_synchronize_all_post_init
authorWei Yang <richardw.yang@linux.intel.com>
Mon, 15 Jul 2019 08:07:51 +0000 (16:07 +0800)
committerJuan Quintela <quintela@redhat.com>
Mon, 15 Jul 2019 13:45:59 +0000 (15:45 +0200)
cpu_synchronize_all_post_init() is called twice in
loadvm_postcopy_handle_run_bh(), so remove one redundant call.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20190715080751.24304-1-richardw.yang@linux.intel.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/savevm.c

index c0e557b4c26ddf45d8966a7dcf339fa884d0fd5f..79ed44d47576ff2942da04827eae9cfbda2b35ae 100644 (file)
@@ -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();