Commit 80b1da7f authored by Pavel Emelyanov's avatar Pavel Emelyanov

service: Add comment why we do detached restore on RPC request

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent f5cd8bfd
......@@ -192,6 +192,12 @@ static int restore_using_req(int sk, CriuOpts *req)
{
bool success = false;
/*
* We can't restore processes under arbitrary task yet.
* Thus for now we force the detached restore under the
* cr service task.
*/
opts.restore_detach = true;
if (setup_opts_from_req(sk, req) == -1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment