On 07/23/2013 09:21 AM, Daniel P. Berrange wrote:
From: "Daniel P. Berrange" <berrange(a)redhat.com>
Use the new virCgroupNewDetect function to determine cgroup
placement of existing running VMs. This will allow the legacy
cgroups creation APIs to be removed entirely
Signed-off-by: Daniel P. Berrange <berrange(a)redhat.com>
---
src/lxc/lxc_cgroup.c | 59 ++++++++++----------------
src/lxc/lxc_cgroup.h | 2 +-
src/lxc/lxc_process.c | 14 ++++++-
src/qemu/qemu_cgroup.c | 107 ++++++++++++++++++++++++++++--------------------
src/qemu/qemu_cgroup.h | 5 +--
src/qemu/qemu_process.c | 2 +-
6 files changed, 100 insertions(+), 89 deletions(-)
+ /* We only auto-create the default partition. In other
+ * cases we expec the sysadmin/app to have done so */
Pre-existing, but as long as you are re-indenting:
s/expec/expect/
(two files; both lxc and qemu)
ACK with that fix
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org