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