Skip to content

efiop/criu2text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

criu2text

NOTE: My CRIT(CRiu Image Tool) patches are now merged into official criu repo, so there is no need in criu2text anymore.

criu images to/from google protobuf text format.

Build:
     Specify PROTOBUF_DIR, MAGIC_C_HEADER and CRIU
     variables in Makefile if you are building
     criu2text not from criu/tools/criu2text.

     Run:
        make
     to generate magic.py and compile needed
     protobuf messages.
     Run:
        make test
     to dump simple loop and convert it's images
     to text and back and compare them bit by bit.
     Run:
        make clean
     to cleanup.

Usage: criu2text to-text IMG_IN [WORK_DIR]
       criu2text to-img TEXT_DIR_IN [WORK_DIR]

Examples:
     1) $ criu2text to-text core-1234.img text_imgs_dir
        $ ls text_imgs_dir
          core-1234
        $ ls text_imgs_dir/core-1234
          0
          magic

     2) $ criu2text to-img text_imgs_dir/core-1234 imgs_dir
        $ ls imgs_dir
          core-1234.img

About

convert criu image to/from protobuf text format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors