Skip to content
Commit b3e5cf75 authored by Evgeniy Akimov's avatar Evgeniy Akimov Committed by Pavel Emelyanov
Browse files

restore: split finalize_restore into two stages



First stage of finalize_restore unmaps the restorer blob, second stage
detaches from processes. After first stage process tree is completely
restored and processes are ready to continue run through sigreturn.
This splitting allows us to execute something between these stages (e.g.
restore freezer cgroup state).

Signed-off-by: default avatarEvgeniy Akimov <geka666@gmail.com>
Signed-off-by: default avatarEugene Batalov <eabatalov89@gmail.com>
Acked-by: default avatarAndrew Vagin <avagin@openvz.org>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 34662a68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment