[CRIU] CRIU in ArchLinux

Pavel Emelyanov xemul at parallels.com
Wed Oct 17 10:33:06 EDT 2012


On 10/17/2012 06:26 PM, Andrew Grigorev wrote:
> Vote for https://bugs.archlinux.org/task/32029 :-)

How to? I see no button "+1" in there.

> Is there something else required for CRIU to work somehow on vanilla linux?

Should be enough. The crtools check will report if it doesn't like anything.

> ps. restorer.c is not compiling under GCC 4.7.2 and glibc 2.16:
> 
> restorer.c: In function ‘__export_restore_task’:
> restorer.c:318:20: error: assignment from incompatible pointer type 
> [-Werror]
> 
> I applied the following ugly patch on crtools-0.2/include/types.h:
> 
> 90,91c90,92
> < struct siginfo;
> < typedef void rt_signalfn_t(int, struct siginfo *, void *);
> ---
>  > #include <signal.h>
>  >
>  > typedef void rt_signalfn_t(int, siginfo_t *, void *);
> 
> Is it ok?

No. Patch should be a) unified and b) sent in a separate e-mail with proper description.

> ps2. Which branch on 
> http://git.kernel.org/?p=linux/kernel/git/gorcunov/linux-cr.git;a=summary is 
> actual now? http://criu.org/Installation says that 3.6-rc5 should be 
> used, but crtools-3.6 is the most recent...

Take the latest version.

Thanks,
Pavel




More information about the CRIU mailing list