[CRIU] CRIU and GO

Andrei Vagin avagin at gmail.com
Wed Oct 3 05:18:21 MSK 2018


On Tue, Oct 02, 2018 at 08:17:01AM +0200, Adrian Reber wrote:
> Hello Andrei,
> 
> I am currently trying to add checkpoint/restore support to podman:
> 
> https://github.com/containers/libpod/pull/469
> 
> and I hope it will soon be merged. As I need at least CRIU 3.11 for
> podman I would like to include a version check into podman.
> 
> As we already have a version check in GO in runc I was first looking at
> the runc code but then I remembered the Pavel's CRIU go interface in
> lib/go/.
> 
> So for podman I tried to vendor-in github.com/checkpoint-restore/criu
> and started to wonder if we might want to have an independent GO
> binding, because right now most of the vendor-in'd code is C code and
> tests and not much GO code.

Is it impossible to vendor only github.com/checkpoint-restore/criu/lib/go/src/criu?

> 
> So instead of including 'github.com/checkpoint-restore/criu/lib/go/src/criu'
> we could have something like 'github.com/checkpoint-restore/go-criu' ?
> 
> What do you say? Would it make sense to have an independent go binding
> for CRIU? Once it works we could start to also use it in runc...
> 
> 		Adrian
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list