]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Avoid creating top level cgroups if just querying for existance
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 4 Mar 2010 11:01:52 +0000 (11:01 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 5 Mar 2010 15:00:58 +0000 (15:00 +0000)
commitede3bc112830491dca1b4ef24762cd52730762c3
tree651b9e2b878362092af7378a7d1a80a58650eb44
parent5c0e525c1c9c46bd4ced20385b4502a8ef642024
Avoid creating top level cgroups if just querying for existance

When getting the driver/domain cgroup it is possible to specify
whether it should be auto created. If auto-creation was turned
off, libvirt still mistakenly created its own top level cgroup

* src/util/cgroup.c: Honour autocreate flag for top level cgroup
src/util/cgroup.c