[CRIU] [PATCH 0/9] CRiu Image Tool(crit)
Ruslan Kuprieiev
kupruser at gmail.com
Tue Oct 21 02:16:42 PDT 2014
Hi Tycho!
On 21.10.2014 03:31, Tycho Andersen wrote:
> Hi Ruslan,
>
> On Wed, Oct 08, 2014 at 01:35:23PM +0300, Ruslan Kuprieiev wrote:
>> Ruslan Kuprieiev (9):
>> tun: rename FD_TYPES__TUN to FD_TYPES__TUNF
>> protobuf: generate python modules
>> scripts: add magic-gen.py
>> pycriu: add python package
>> crit: add crit
>> crit: add crit target to Makefile and *.pyc to .gitignore
>> test: add crit test
>> crit: add setup.py
>> crit: add install-crit target to Makefile
> I played around with crit a bit today, and it is already a very useful
> tool, so thanks! Have you considered making the output actual parsable
> json? e.g. in the cgroup case, the current output is:
Yes, json support is the next task in my crit todo list =).
> #0 cgroup_entry
> sets {
> id: 2
> ctls {
> name: "blkio"
> path: "/lxc/u1"
> }
> ctls {
> name: "cpu"
> path: "/lxc/u1"
> }
> ...
> }
>
> It could be something like,
>
> [
> {"cgroup_entry": {"sets": {"id": 2,
> "ctls": [{"name": "blkio",
> "path": "/lxc/u1"},
> {"name": "cpu",
> "path": "/lxc/u1"}]}}}]
>
> (formatting however you want it :)
>
> Then we could use standard json parsing tools to work with the output.
>
> Tycho
>
More information about the CRIU
mailing list