mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +00:00
Add support for perf_event and net_cls cgroup controllers
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
ff66b45e2b
commit
e7d8ab016b
@ -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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user