60ddcef qemu_cgroup: Kill qemuSetupHostSCSIVHostDeviceCgroup

Authored and Committed by mprivozn 7 years ago
    qemu_cgroup: Kill qemuSetupHostSCSIVHostDeviceCgroup
    
    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.
    
    Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
    Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    
        
file modified
+11 -22