mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
img: Add ability to check whether optional image collection happened
A bit later we'd need to check whether cinfo collector opened an image or not due to file absense. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
1e3ae669fa
commit
4816882da9
2 changed files with 2 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ struct collect_image_info {
|
|||
|
||||
#define COLLECT_SHARED 0x1 /* use shared memory for obj-s */
|
||||
#define COLLECT_OPTIONAL 0x2 /* image file may be missing */
|
||||
#define COLLECT_HAPPENED 0x4 /* image was opened and collected */
|
||||
|
||||
extern int collect_image(struct collect_image_info *);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue