[CRIU] [PATCH 2/2] test: lazy-migration: don't try to run pre-dump with --lazy-pages

Mike Rapoport rppt at linux.ibm.com
Mon Dec 10 18:44:11 MSK 2018


Signed-off-by: Mike Rapoport <rppt at linux.ibm.com>
---
 test/zdtm.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/zdtm.py b/test/zdtm.py
index d151c86..f6402c2 100755
--- a/test/zdtm.py
+++ b/test/zdtm.py
@@ -1145,7 +1145,7 @@ class criu:
 			a_opts += ['--empty-ns', 'net']
 
 		nowait = False
-		if self.__lazy_migrate:
+		if self.__lazy_migrate and action == "dump":
 			a_opts += ["--lazy-pages", "--port", "12345"]
 			nowait = True
 		self.__dump_process = self.__criu_act(action, opts = a_opts + opts, nowait = nowait)
-- 
2.7.4



More information about the CRIU mailing list