sig: Ignore SIGSTOP/SIGKILL on conversion

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
sig: Fix typo in write_sighandlers

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
task: Show sighand in debug output

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
sig: Fix signal numbering

They are counted from 0 in openvz image and from 1 in criu.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
mm: Show mmi position in debug output

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
mm: Print unknown object name if been met in read_vmas

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
todo: Add notes about shared memory

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
mm: Rename vma_has_payload to vma_has_direct_payload

Payload may lay in inode area (for example in shared
anonymous maps).

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
mm: Drop redundant lines from write_file_map

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
mm: Update message in show_vma_cont

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
mm: Make write_page_block to accept start/end bounds

To copy pages associated with anonymous shared memory
I'll need to pass explicit bounds instead of vma.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
mm: Fix convertion of anonymous shared mappings

Anonymous shared mappings data is bound to inode payload,
take it into account when meet such VMA.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
todo: Update notes on shared vmas

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
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>
todo: Add note about lastsiginfo

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

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