Merge pull request #4708 from kzys/enable-criu

Re-enable CRIU tests by not using overlayfs snapshotter
This commit is contained in:
Michael Crosby
2021-03-19 14:23:05 -04:00
committed by GitHub
5 changed files with 47 additions and 7 deletions

View File

@@ -193,11 +193,15 @@ func (p *Init) createCheckpointedState(r *CreateConfig, pidFile *pidFile) error
ParentPath: r.ParentCheckpoint,
},
PidFile: pidFile.Path(),
IO: p.io.IO(),
NoPivot: p.NoPivotRoot,
Detach: true,
NoSubreaper: true,
}
if p.io != nil {
opts.IO = p.io.IO()
}
p.initState = &createdCheckpointState{
p: p,
opts: opts,