mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
config/rpc: add new option --mntns-compat-mode for old mount engine
We plan to switch to Mounts-v2 engine for restoring mounts by default, this options is to allow switching to old engine. This patch only adds an option, no engine behind it yet. Cherry-picked from Virtuozzo criu: https://src.openvz.org/projects/OVZ/repos/criu/commits/503f9ad2c Changes: allow --mntns-compat-mode option only on restore and only if MOVE_MOUNT_SET_GROUP is supported (this also requires change in unittest/mock.c), change id in rpc criu_opts. Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
This commit is contained in:
parent
f6b52c711e
commit
f2d1c7fab8
11 changed files with 62 additions and 0 deletions
|
|
@ -137,6 +137,7 @@ message criu_opts {
|
|||
optional int32 pidfd_store_sk = 62;
|
||||
optional string lsm_mount_context = 63;
|
||||
optional criu_network_lock_method network_lock = 64 [default = IPTABLES];
|
||||
optional bool mntns_compat_mode = 65;
|
||||
/* optional bool check_mounts = 128; */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue