Re: [libvirt] [PATCH 2/7] qemu_cgroup: Kill qemuSetupHostSCSIDeviceCgroup

2017-02-16 Thread Marc-André Lureau
On Fri, Feb 10, 2017 at 6:57 PM Michal Privoznik wrote: > There's no need for this function. Currently it is passed as a > callback to virSCSIDeviceFileIterate(). However, SCSI devices > have just one file path. Therefore we can mimic approach used in >

[libvirt] [PATCH 2/7] qemu_cgroup: Kill qemuSetupHostSCSIDeviceCgroup

2017-02-10 Thread Michal Privoznik
There's no need for this function. Currently it is passed as a callback to virSCSIDeviceFileIterate(). However, SCSI devices have just one file path. Therefore we can mimic approach used in qemuDomainGetHostdevPath() to get path and call virCgroupAllowDevicePath() directly. Signed-off-by: Michal