| Line 23: |
Line 23: |
| | | | |
| | === Convert images to JSON and back === | | === Convert images to JSON and back === |
| | + | |
| | + | {{Status|ready}} |
| | + | |
| | This is the replacement for (rather nasty) criu show code. Also this is the way to edit the images before restoring from them. | | This is the replacement for (rather nasty) criu show code. Also this is the way to edit the images before restoring from them. |
| − |
| |
| − | '''Status: Ready'''
| |
| | | | |
| | It uses [https://developers.google.com/protocol-buffers/docs/reference/python/google.protobuf.text_format-module text_format] as a human-readable format for protobuf messages. | | It uses [https://developers.google.com/protocol-buffers/docs/reference/python/google.protobuf.text_format-module text_format] as a human-readable format for protobuf messages. |
| Line 56: |
Line 57: |
| | | | |
| | === Generate core files out of task images === | | === Generate core files out of task images === |
| | + | |
| | + | {{Status|not ready}} |
| | | | |
| | All the needed information is in core-$pid.img and pagemap-$pid.img | | All the needed information is in core-$pid.img and pagemap-$pid.img |
| | | | |
| − | '''Status: Not ready'''
| + | === On-the-fly conversion === |
| | | | |
| − | === On-the-fly conversion ===
| + | {{Status|not ready}} |
| | | | |
| | There's an idea to make CRIU spawn CRIT and read images "through" it, to allow for at-the-restore-time modifications | | There's an idea to make CRIU spawn CRIT and read images "through" it, to allow for at-the-restore-time modifications |
| | | | |
| − | '''Status: Not ready'''
| + | === Convert between different image versions === |
| | | | |
| − | === Convert between different image versions ===
| + | {{Status|not ready}} |
| | | | |
| | 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. | | 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. |
| | | | |
| − | '''Status: Not ready'''
| + | === Show images statistics === |
| | | | |
| − | === Show images statistics ===
| + | {{Status|not ready}} |
| | | | |
| | E.g. -- total number of processes, files, memory, sockets, etc. | | E.g. -- total number of processes, files, memory, sockets, etc. |
| | | | |
| − | Status: Not ready
| + | === Check/validate images === |
| | | | |
| − | === Check/validate images ===
| + | {{Status|not ready}} |
| | | | |
| | Check that | | Check that |
| | * all images are present | | * all images are present |
| | * the inter-images IDs are in consistent state | | * the inter-images IDs are in consistent state |
| − |
| |
| − | '''Status: Not ready'''
| |
| | | | |
| | [[Category:Images]] | | [[Category:Images]] |
| | [[Category:API]] | | [[Category:API]] |