[CRIU] How to save custom container properties?
Cyrill Gorcunov
gorcunov at virtuozzo.com
Mon Feb 15 23:41:08 PST 2016
On Tue, Feb 16, 2016 at 10:26:49AM +0300, Pavel Emelyanov wrote:
> On 02/16/2016 10:18 AM, Pavel Tikhomirov wrote:
> > We have virtualized core_pattern in VZ7 CT, which was needed by QA to
> > catch coredumps in CT. The question is: How to c/r it with CRIU? It is
> > not mainstream behaviour to have separate kernel.core_pattern sysctl in
> > CT, so my first thought was in action scripts. But in that case, do we
> > have some interface to save data collected by action script to some
> > special image?
>
> No we don't. You can pick any format, but for uniformity I'd recommend
> declaring .proto file with ovz-specific info and save it in ovz.img
> file the way criu does.
>
> I think we can introduce helper routine(s) in lib/ for such cases.
Letme think a bit. I vote for vz.img for sure but I would love to
escape changing criu code too much because it gonna be hard to
support both versions (vanilla and pcs7 one).
Not sure what you mean by helpers in lib. Mind to share?
More information about the CRIU
mailing list