Add --dry-run option

Supposed to read image but don't write anything back.
Note the mode is note yet implemented.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Make -v option to behave the same as in criu

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Implement dry run mode

This mode only reads image and tries to
convert but but write no image files.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
sig: Use explicit long->void conversion

Just to be close to openvz code, nothing special here.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
task: Fix calculation of shared pending signals

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>