]> xenbits.xensource.com Git - libvirt.git/commit
util: vircgroup: introduce virCgroup(Get|Set)ValueRaw
authorPavel Hrdina <phrdina@redhat.com>
Tue, 18 Jun 2019 13:01:39 +0000 (15:01 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Fri, 21 Jun 2019 12:35:51 +0000 (14:35 +0200)
commit3f741f9ace878e8aa9f537992b877a1e059d53a9
treeaa2a3a9939a07dc4472d8a86ad9074ccb949ef4a
parent2f0de10e29ce00fb24473c162d5de9e072dcbe28
util: vircgroup: introduce virCgroup(Get|Set)ValueRaw

If we need to get a path of specific file and we need to check its
existence before we use it then we can reuse that path to get/set
values instead of calling the existing get/set value functions which
would be building the path again.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/vircgroup.c
src/util/vircgrouppriv.h