]> xenbits.xensource.com Git - libvirt.git/commit
util: vircgroupv2: use any controller to create thread directory
authorPavel Hrdina <phrdina@redhat.com>
Thu, 20 Jun 2019 11:07:07 +0000 (13:07 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 26 Jun 2019 11:34:01 +0000 (13:34 +0200)
commit535bdf83c0b0372e725650c56b4996ff83406254
tree23d7603d18f8d3d6368b33a192100a61bf3fb185
parentd3007c844d8aa0caa0328ab18275be375f597704
util: vircgroupv2: use any controller to create thread directory

The assumption that CPU controller would be always enabled is wrong, we
should use any available controller to create a new sub-cgroup.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/vircgroupv2.c