[CRIU] [PATCH 1/4] zdtm: Fix --ext-mount-map to --external
Pavel Emelyanov
xemul at virtuozzo.com
Mon Nov 7 20:37:47 PST 2016
Now the --ext-mount-map is deprecated option, so fix it to
become the --external one.
Signed-off-by: Pavel Emelyanov <xemul at virtuozzo.com>
---
test/zdtm.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/test/zdtm.py b/test/zdtm.py
index 3eeeb2d..4cfe24b 100755
--- a/test/zdtm.py
+++ b/test/zdtm.py
@@ -885,8 +885,8 @@ class criu:
criu_dir = os.path.dirname(os.getcwd())
if os.getenv("GCOV"):
- a_opts.append("--ext-mount-map")
- a_opts.append("%s:zdtm" % criu_dir)
+ a_opts.append('--external')
+ a_opts.append('mnt[%s]:zdtm' % criu_dir)
if self.__leave_stopped:
a_opts += ['--leave-stopped']
@@ -915,8 +915,8 @@ class criu:
self.__prev_dump_iter = None
criu_dir = os.path.dirname(os.getcwd())
if os.getenv("GCOV"):
- r_opts.append("--ext-mount-map")
- r_opts.append("zdtm:%s" % criu_dir)
+ r_opts.append('--external')
+ r_opts.append('mnt[zdtm]:%s' % criu_dir)
lazy_pages_p = None
if self.__lazy_pages:
--
2.1.4
More information about the CRIU
mailing list