Logo
Explore Help
Sign In
NuKVM/libvirt
3
0
Fork 0
You've already forked libvirt
mirror of https://github.com/libvirt/libvirt.git synced 2025-02-25 18:55:26 -06:00
Code Issues Packages Projects Releases Wiki Activity
Files
e07535b5312bf896f7c28a3aba25dcbd3ccf483b
libvirt/tests/vircgroupdata/cgroups2.cgroups

11 lines
326 B
Plaintext
Raw Normal View History

vircgrouptest: call virCgroupNewSelf instead virCgroupDetectMounts This will be required once cgroup v2 is introduced. The cgroup detection is not simple and we will have multiple backends so we should not just jump into the middle of the detection code. In order to use virCgroupNewSelf we need to create all the remaining data files: - {name}.cgroups represents /proc/cgroups, it is a list of cgroup controllers compiled into kernel - {name}.self.cgroup represents /proc/self/cgroup, it describes cgroups to which the process belongs For "no-cgroups" we need to modify the expected behavior because virCgroupNewSelf() will fail if there are no controllers available. Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2018-09-14 13:17:07 +02:00
#subsys_name hierarchy num_cgroups enabled
cpuset 1 1 1
cpu 2 1 1
cpuacct 3 1 1
blkio 7 1 1
memory 4 1 1
devices 5 1 1
freezer 6 1 1
perf_event 8 1 1
hugetlb 9 1 1
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 258ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API