c313de
From 6b4f272c7de58d13d89a7ebb981b43ac53c41198 Mon Sep 17 00:00:00 2001
c313de
Message-Id: <6b4f272c7de58d13d89a7ebb981b43ac53c41198@dist-git>
c313de
From: Pavel Hrdina <phrdina@redhat.com>
c313de
Date: Mon, 1 Jul 2019 17:07:52 +0200
c313de
Subject: [PATCH] vircgroup: register cgroup v2 backend
c313de
MIME-Version: 1.0
c313de
Content-Type: text/plain; charset=UTF-8
c313de
Content-Transfer-Encoding: 8bit
c313de
c313de
All mandatory callbacks are implemented for cgroup v2 backend so we
c313de
can register it now.
c313de
c313de
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
c313de
(cherry picked from commit a77f5326919e0d79f01686762ecc8656e4e6adc9)
c313de
c313de
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1689297
c313de
c313de
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
c313de
Message-Id: <9d7990e568c23aa43ccd85011e845c840db97a27.1561993100.git.phrdina@redhat.com>
c313de
Reviewed-by: Ján Tomko <jtomko@redhat.com>
c313de
---
c313de
 src/util/vircgroupbackend.c | 1 +
c313de
 1 file changed, 1 insertion(+)
c313de
c313de
diff --git a/src/util/vircgroupbackend.c b/src/util/vircgroupbackend.c
c313de
index 79fe6cb73d..7ee39ac8ca 100644
c313de
--- a/src/util/vircgroupbackend.c
c313de
+++ b/src/util/vircgroupbackend.c
c313de
@@ -52,6 +52,7 @@ virCgroupBackendRegister(virCgroupBackendPtr backend)
c313de
 static void
c313de
 virCgroupBackendOnceInit(void)
c313de
 {
c313de
+    virCgroupV2Register();
c313de
     virCgroupV1Register();
c313de
 }
c313de
 
c313de
-- 
c313de
2.22.0
c313de