[CRIU] [PATCH 1/4] [RFC] cr-dump: don't call parasite_fixup_vdso() on a non-x86 architecture

Alexander Kartashov alekskartashov at parallels.com
Fri May 31 01:20:45 EDT 2013


The call to parasite_fixup_vdso() fails on ARM that results
in a dump failure.

Signed-off-by: Alexander Kartashov <alekskartashov at parallels.com>
Cc: Cyrill Gorcunov <gorcunov at openvz.org>
---
 cr-dump.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/cr-dump.c b/cr-dump.c
index 6ea17a7..12c0689 100644
--- a/cr-dump.c
+++ b/cr-dump.c
@@ -1418,11 +1418,13 @@ static int dump_one_task(struct pstree_item *item)
 		}
 	}
 
+#ifdef CONFIG_X86_64
 	ret = parasite_fixup_vdso(parasite_ctl, pid, &vmas);
 	if (ret) {
 		pr_err("Can't fixup vdso VMAs (pid: %d)\n", pid);
 		goto err_cure_fdset;
 	}
+#endif
 
 	ret = parasite_dump_misc_seized(parasite_ctl, &misc);
 	if (ret) {
-- 
1.7.10.4



More information about the CRIU mailing list