[CRIU] How to save custom container properties?

Pavel Emelyanov xemul at virtuozzo.com
Mon Feb 15 23:26:49 PST 2016


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.

Cyrill?

> https://jira.sw.ru/browse/PSBM-44145
> 



More information about the CRIU mailing list