[CRIU] rewriting images via criu (or crit?)

Cyrill Gorcunov gorcunov at gmail.com
Tue Oct 21 02:22:06 PDT 2014


On Tue, Oct 21, 2014 at 12:13:06PM +0300, Ruslan Kuprieiev wrote:
> >As to me -- external tool for such modifications is better choise and it seems
> >crit is exactly fits here. This might have slight impact on the speed in compare
> >if the language would builtin into criu itself, but criu is already complex enough
> >so adding language engine here would simply overload I think.
> 
> I totally agree with Cyrill.
> 
> I like the syntax. Are you thinking about using crit like so:
> crit modify -i cgroup.img cgroup_entry.controllers["cpuset" in
> cnames]//properties[name="cpuset.cpus"] set value=0-1
> right?

I guess so. Also I would consider introdusing more human-readable
syntax if possible, but that's optional, up to you and Tycho.


More information about the CRIU mailing list