Re: [libvirt] [PATCH] vircgroupv2: fix setting cpu.max period

2019-09-06 Thread Erik Skultety
On Thu, Sep 05, 2019 at 11:44:47AM +0200, Pavel Hrdina wrote: > When we set cpu.max period we need to parse the cpu.max file first as > it contains both quota and period values separated by space. When only > a single number is written to that file it will set quota, in order to "... quota. Howev

[libvirt] [PATCH] vircgroupv2: fix setting cpu.max period

2019-09-05 Thread Pavel Hrdina
When we set cpu.max period we need to parse the cpu.max file first as it contains both quota and period values separated by space. When only a single number is written to that file it will set quota, in order to change period we need to write both values. The code was prepared for that but mistak