CRIT

From CRIU
Revision as of 18:09, 28 October 2014 by Xemul (talk | contribs) (Created page with "This page describes the CRiu Image Tool. == Functionality == === Convert images to human-readable and back === This is the replacement for (rather nasty) criu show code. Al...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page describes the CRiu Image Tool.

Functionality

Convert images to human-readable and back

This is the replacement for (rather nasty) criu show code. Also this is the way to edit the images before restoring from them.

Convert to json (and back)

Same as before, but the human-readable format is JSON

Generate core files out of task images

All the needed information is in core-$pid.img and pagemap-$pid.img

On-the-fly conversion

There's an idea to make CRIU spawn CRIT and read images "through" it, to allow for at-the-restore-time modifications

Convert between different image versions

Right now we store the images version in inventory.img and collect info about what's bad with v1 images. If some day we have v2, CRIT will convert from v1. And for backward compatibility we'll use on-the-fly conversion when restoring from old images.