Re: [libvirt] [libvirt PATCH v3 0/4] Share cgroup code that is duplicated between QEMU and LXC

2018-09-24 Thread Michal Privoznik
On 09/13/2018 02:33 PM, Pavel Hrdina wrote: > On Thu, Sep 13, 2018 at 09:48:10AM +0200, Fabiano FidĂȘncio wrote: >> virLXCCgroupSetupBlkioTune() and qemuSetupBlkioCgroup() and >> virLXCCgroupSetupCpuTune() and qemuSetupCpuCgroup() are the most similar >> functions between QEMU and LXC code. >> >>

Re: [libvirt] [libvirt PATCH v3 0/4] Share cgroup code that is duplicated between QEMU and LXC

2018-09-13 Thread Pavel Hrdina
On Thu, Sep 13, 2018 at 09:48:10AM +0200, Fabiano FidĂȘncio wrote: > virLXCCgroupSetupBlkioTune() and qemuSetupBlkioCgroup() and > virLXCCgroupSetupCpuTune() and qemuSetupCpuCgroup() are the most similar > functions between QEMU and LXC code. > > Let's move their common code to virCgroup. > >

[libvirt] [libvirt PATCH v3 0/4] Share cgroup code that is duplicated between QEMU and LXC

2018-09-13 Thread Fabiano FidĂȘncio
virLXCCgroupSetupBlkioTune() and qemuSetupBlkioCgroup() and virLXCCgroupSetupCpuTune() and qemuSetupCpuCgroup() are the most similar functions between QEMU and LXC code. Let's move their common code to virCgroup. Mind that the first two patches are basically preparing the ground for the changes