]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_cgroup: Kill qemuSetupHostSCSIDeviceCgroup
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 9 Feb 2017 09:25:28 +0000 (10:25 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 20 Feb 2017 06:21:58 +0000 (07:21 +0100)
commit7bb01ed3cd41718f652f8dbf07954c3297671bec
tree0361a5cdbea0b858991650f475384d8491b5e543
parent4d7d1c4bc342d97bff229cde75d057f9824866ff
qemu_cgroup: Kill qemuSetupHostSCSIDeviceCgroup

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 Privoznik <mprivozn@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
src/qemu/qemu_cgroup.c