Commit 73d553f3 authored by Mike Rapoport's avatar Mike Rapoport Committed by Andrei Vagin

test: lazy-migration: don't try to run pre-dump with --lazy-pages

Signed-off-by: 's avatarMike Rapoport <rppt@linux.ibm.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@gmail.com>
parent 685f4caa
......@@ -1123,7 +1123,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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment