[CRIU] [PATCH] Enable manage cgroup modes in criu service
Ruslan Kuprieiev
kupruser at gmail.com
Thu Aug 6 04:58:42 PDT 2015
Oh, ok.
Will send patch soon.
Thanks
On 08/06/2015 02:56 PM, Pavel Emelyanov wrote:
> On 08/06/2015 02:52 PM, Ruslan Kuprieiev wrote:
>> But that isn't cool. Maybe we should add enum CG_MODE_* to rpc.proto,
>> make service parse it into legit CG_MODE_* constants from cr_options.h and
>> add similar enum to libcriu?
>>
>> I.e.:
>> rpc.proto:
>> enum criu_cg_mode {
>> SOFT = 1;
>> ...
>> }
>>
>> cr-service.c:
>> ...
>> case CRIU_CG_MODE_SOFT:
>> mode = CG_MODE_SOFT;
>> ...
>>
>> lib/criu.h
>> enum criu_cg_mode {
>> CG_MODE_SOFT,
>> ...
>> }
> I don't mind.
>
>> On 08/06/2015 02:41 PM, Pavel Emelyanov wrote:
>>> :D I see. These guys will have to hardcode things, but we
>>> can provide criu.py module for them with such things.
>>>
>>> -- Pavel
>> .
>>
More information about the CRIU
mailing list