24 июля 2017 г. 7:04 PM пользователь Kirill Gorkunov <gorcu...@virtuozzo.com> 
написал:
On Mon, Jul 24, 2017 at 06:52:31PM +0300, Stanislav Kinsburskiy wrote:
>
> >> int join_ve(pid_t pid, bool veX)
> >
> > Does pid have to be 0 in this case?
> >
>
> Maybe interface to this helper should be reworked?

In criu/cr_restore.c

#define join_veX(pid)   join_ve(pid, true)
#define join_ve0(pid)   join_ve(pid, false)

Well, no. I don't like this defines.
And I don't think that pid has to be explicitly provided. At least for ve0.
But frankly, I don't want to do it anyways.


Just move it to the header, and that;s all

        Cyrill

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to