Add support for perf_event and net_cls cgroup controllers

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrange 2013-04-15 15:17:33 +01:00
parent ff66b45e2b
commit e7d8ab016b
2 changed files with 3 additions and 1 deletions

View File

@ -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. */

View File

@ -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
};