]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix detection of 'emulator' cgroup
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 24 Jul 2013 16:41:44 +0000 (17:41 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 25 Jul 2013 18:55:46 +0000 (19:55 +0100)
commitc101b851c19be1f4d9a7cceeed1ed0b23d20cefd
treecd54c34c0fd27bb199a680b15b6e11ba743a913e
parent525c9d5a49f2a7bed89560d1873f10554dfca178
Fix detection of 'emulator' cgroup

When a VM has an 'emulator' child cgroup present, we must
strip off that suffix when detecting the cgroup for a
machine

Rename the virCgroupIsValidMachineGroup method to
virCgroupValidateMachineGroup to make a bit clearer
that this isn't simply a boolean check, it will make
changes to the object.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/util/vircgroup.c