When preparing to load state into a migration target VM, don't sync the auxiliary vcpus to allow the migration helper to keep running there (it is used during the migration).
Signed-off-by: Dov Murik <dovmu...@linux.vnet.ibm.com> --- softmmu/cpus.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/softmmu/cpus.c b/softmmu/cpus.c index a7ee431187..878cf2a421 100644 --- a/softmmu/cpus.c +++ b/softmmu/cpus.c @@ -162,7 +162,9 @@ void cpu_synchronize_all_pre_loadvm(void) CPUState *cpu; CPU_FOREACH(cpu) { - cpu_synchronize_pre_loadvm(cpu); + if (!cpu->aux) { + cpu_synchronize_pre_loadvm(cpu); + } } } -- 2.20.1