[libvirt] [PATCH 04/13] Add API for checking if a cgroup is valid for a domain

Eric Blake eblake at redhat.com
Tue Jul 23 17:35:31 UTC 2013


On 07/23/2013 09:21 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Add virCgroupIsValidMachine API to check whether a auto

s/a/an/

> detected cgroup is valid for a machine. This lets us
> check if a VM has just been placed into some generic
> shared cgroup, or worse, the root cgroup
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/libvirt_private.syms |  1 +
>  src/util/vircgroup.c     | 42 ++++++++++++++++++++++++++++++++++++++++++
>  src/util/vircgroup.h     |  5 +++++
>  3 files changed, 48 insertions(+)
> 

ACK

-- 
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/9ab66adb/attachment-0001.sig>


More information about the libvir-list mailing list