]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Add virCgroupGetBlockDevString
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 3 Aug 2015 12:44:14 +0000 (14:44 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 18 Aug 2015 23:16:38 +0000 (16:16 -0700)
commitea9db906fcf8425edad7ea49701c9b6495554b7f
tree8fc7dc39d4b92e15c1acc61ec2f95665cdc2ba83
parent1fe69c4656082f48762f69149efc6d9d01d62ce1
util: Add virCgroupGetBlockDevString

This function translates device paths to "major:minor " string, and all
virCgroupSetBlkioDevice* functions are modified to use it.  It's a
cleanup with no functional change.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/util/vircgroup.c