]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: vircgroupv2: separate return values of virCgroupV2EnableController
authorPavel Hrdina <phrdina@redhat.com>
Fri, 21 Jun 2019 12:47:47 +0000 (14:47 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 26 Jun 2019 11:34:01 +0000 (13:34 +0200)
commit29a94a3fefeea0fb29b0b9f485c83c49b5bdae71
tree52ee4ebf77f412ad2f91485d5d2e5495c2b092ed
parentf9d1c08557ddb981a0d889200431185a9c4920e0
util: vircgroupv2: separate return values of virCgroupV2EnableController

In order to skip controllers that we are not able to activate we need
to return different return value so the caller can decide what to do.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/util/vircgroupv2.c