[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] qemu: fix qemuCgroupControllerActive



Since 56f27b3 it always returned false.
---
 src/qemu/qemu_cgroup.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/qemu/qemu_cgroup.c b/src/qemu/qemu_cgroup.c
index 2cdc2b7..9e11a05 100644
--- a/src/qemu/qemu_cgroup.c
+++ b/src/qemu/qemu_cgroup.c
@@ -58,6 +58,8 @@ bool qemuCgroupControllerActive(virQEMUDriverPtr driver,
     if (!virCgroupMounted(driver->cgroup, controller))
         goto cleanup;
 
+    ret = true;
+
 cleanup:
     virObjectUnref(cfg);
     return ret;
-- 
1.8.1.5


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]