qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC PATCH 20/26] migration: When starting target, don't sync auxiliary


From: Dov Murik
Subject: [RFC PATCH 20/26] migration: When starting target, don't sync auxiliary vcpus
Date: Tue, 2 Mar 2021 15:48:16 -0500

If auxiliary vcpus are defined, they are used for running the migration
helper inside the guest.  We want to keep them running and not sync
their state.

This behaves exactly like cpu_synchronize_all_post_init() when there are
no auxiliary vcpus.

Signed-off-by: Dov Murik <dovmurik@linux.vnet.ibm.com>
---
 migration/savevm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/migration/savevm.c b/migration/savevm.c
index c5252612c3..c6af1f7bba 100644
--- a/migration/savevm.c
+++ b/migration/savevm.c
@@ -2754,7 +2754,7 @@ int qemu_loadvm_state(QEMUFile *f)
     }
 
     qemu_loadvm_state_cleanup();
-    cpu_synchronize_all_post_init();
+    cpu_synchronize_without_aux_post_init();
 
     return ret;
 }
-- 
2.20.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]