Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAjay Bharadwaj <ajayrbharadwaj@gmail.com>2020-06-26 14:01:47 +0300
committerAndrei Vagin <avagin@gmail.com>2020-10-20 10:18:24 +0300
commitbb555b372019b934e841d48714381947ecd8e87c (patch)
tree1942c80ed352d9ae5b8ac2be8d9018690bcb5717 /Documentation
parent9191f8728d6224e3c108063128131c8f219bdd4f (diff)
criu/config.c: added cli option for build-id
file_validation_method field added to cr_options structure in "criu/include/cr_options.h" along with the constants: FILE_VALIDATION_FILE_SIZE FILE_VALIDATION_BUILD_ID FILE_VALIDATION_DEFAULT (Equal to FILE_VALIDATION_BUILD_ID) Usage and description information is yet to be added Usage: --file-validation="filesize" (To use only the file size check) --file-validation="buildid" (To try and use only the build-id check) Signed-off-by: Ajay Bharadwaj <ajayrbharadwaj@gmail.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/criu.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/Documentation/criu.txt b/Documentation/criu.txt
index 6ce384163..ff6886d9d 100644
--- a/Documentation/criu.txt
+++ b/Documentation/criu.txt
@@ -400,6 +400,22 @@ By default the option is set to *fpu* and *ins*.
option is intended for post-copy (lazy) migration and should be
used in conjunction with *restore* with appropriate options.
+*--file-validation* ['mode']::
+ Set the method to be used to validate open files. Validation is done
+ to ensure that the version of the file being restored is the same
+ version when it was dumped.
+
+The 'mode' may be one of the following:
+
+ *filesize*:::
+ To explicitly use only the file size check all the time.
+ This is the fastest and least intensive check.
+
+ *buildid*:::
+ To validate ELF files with their build-ID. If the
+ build-ID cannot be obtained, 'chksm-first' method will be
+ used. This is the default if mode is unspecified.
+
*restore*
~~~~~~~~~
Restores previously checkpointed processes.
@@ -576,6 +592,22 @@ are not adequate, but this can be suppressed by using *--cpu-cap=none*.
restored process.
This option requires running *lazy-pages* daemon.
+*--file-validation* ['mode']::
+ Set the method to be used to validate open files. Validation is done
+ to ensure that the version of the file being restored is the same
+ version when it was dumped.
+
+The 'mode' may be one of the following:
+
+ *filesize*:::
+ To explicitly use only the file size check all the time.
+ This is the fastest and least intensive check.
+
+ *buildid*:::
+ To validate ELF files with their build-ID. If the
+ build-ID cannot be obtained, 'chksm-first' method will be
+ used. This is the default if mode is unspecified.
+
*check*
~~~~~~~
Checks whether the kernel supports the features needed by *criu* to