提交 e7d8ab01 编写于 作者: D Daniel P. Berrange

Add support for perf_event and net_cls cgroup controllers

Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
上级 ff66b45e
......@@ -57,7 +57,7 @@
VIR_ENUM_IMPL(virCgroupController, VIR_CGROUP_CONTROLLER_LAST,
"cpu", "cpuacct", "cpuset", "memory", "devices",
"freezer", "blkio");
"freezer", "blkio", "net_cls", "perf_event");
typedef enum {
VIR_CGROUP_NONE = 0, /* create subdir under each cgroup if possible. */
......
......@@ -38,6 +38,8 @@ enum {
VIR_CGROUP_CONTROLLER_DEVICES,
VIR_CGROUP_CONTROLLER_FREEZER,
VIR_CGROUP_CONTROLLER_BLKIO,
VIR_CGROUP_CONTROLLER_NET_CLS,
VIR_CGROUP_CONTROLLER_PERF_EVENT,
VIR_CGROUP_CONTROLLER_LAST
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册