[CRIU] [PATCH 04/23] pie: provide own memcpy for x86 (-> master)

Pavel Emelyanov xemul at virtuozzo.com
Mon Oct 24 06:06:08 PDT 2016


Kir :)

I've tried to merge this commit into master branch and hit into problem. First
of all, it didn't apply smoothly, I had to patch the criu/pie/Makefile.library
like this:

@@ -2,6 +2,10 @@ lib-y			+= log-simple.o
 lib-y			+= util-fd.o
 lib-y			+= util.o
 
+ifeq ($(ARCH),x86)
+        OBJS		+= ./$(ARCH_DIR)/memcpy.o
+endif
+
 ifeq ($(VDSO),y)
         lib-y		+= util-vdso.o
         lib-y		+= parasite-vdso.o


but that seems to comply with what's there in criu-dev. After this all tests
started to fail, like this:

Run criu dump
=[log]=> dump/zdtm/static/env00/39/1/dump.log
------------------------ grep Error ------------------------
(00.011268) Error (criu/parasite-syscall.c:394): si_code=4 si_pid=39 si_status=11
(00.011278) Error (criu/parasite-syscall.c:402): 39 was stopped by 11 unexpectedly

Would you please take a look? The patch is good to be shipped with master
branch next release.

-- Pavel


More information about the CRIU mailing list