Re: [libvirt] [PATCH 3/7] qemu_cgroup: Kill qemuSetupHostSCSIVHostDeviceCgroup

2017-02-16 Thread Marc-André Lureau
Hi 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 virSCSIVHostDeviceFileIterate(). However, SCSI host > devices have just one file path. Therefore we can mimic approach > used in

[libvirt] [PATCH 3/7] qemu_cgroup: Kill qemuSetupHostSCSIVHostDeviceCgroup

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