mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
restore: restore pocesses which share one fdtable (v5)
Currenly crtools supports a case when a child shared a fd table with parent. Here is only two interesting things. * Service descriptors should be cloned for each process who shared one fd table. * One task should restore files and other tasks should sleep in this * time. v2: * allocate fdt_lock from shared memory * don't wait a child, if it doesn't share fdtable v3: * don't move ids on the pstree image v4: * save ids in a separate image * save fdinfo per id instead of pid v5: fix alignment of service_fd_id Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
d50c786c7e
commit
979eb2a179
@@ -250,6 +250,7 @@ struct rst_info {
|
||||
void *premmapped_addr;
|
||||
unsigned long premmapped_len;
|
||||
|
||||
int service_fd_id;
|
||||
struct fdt *fdt;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user