[libvirt] [PATCH 05/13] Auto-detect existing cgroup placement
Eric Blake
eblake at redhat.com
Tue Jul 23 17:38:58 UTC 2013
On 07/23/2013 09:21 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130723/40b8a21f/attachment-0001.sig>
More information about the libvir-list
mailing list