Re: [libvirt] [PATCH 4/7] qemuSetupHostdevCgroup: Use qemuDomainGetHostdevPath

2017-02-16 Thread Marc-André Lureau
Hi On Fri, Feb 10, 2017 at 6:57 PM Michal Privoznik wrote: > Since these two functions are nearly identical (with > qemuSetupHostdevCgroup actually calling virCgroupAllowDevicePath) > we can have one function call the other and thus de-duplicate > some code. > >

[libvirt] [PATCH 4/7] qemuSetupHostdevCgroup: Use qemuDomainGetHostdevPath

2017-02-10 Thread Michal Privoznik
Since these two functions are nearly identical (with qemuSetupHostdevCgroup actually calling virCgroupAllowDevicePath) we can have one function call the other and thus de-duplicate some code. Signed-off-by: Michal Privoznik --- src/qemu/qemu_cgroup.c | 147