Re: [libvirt] [PATCH v3 09/16] Cleanup if creating cgroup directories fails

2013-04-11 Thread Michal Privoznik
On 10.04.2013 12:08, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com Currently if virCgroupMakeGroup fails, we can get in a situation where some controllers have been setup, but others not. Ensure we call virCgroupRemove to remove what we've done upon failure

[libvirt] [PATCH v3 09/16] Cleanup if creating cgroup directories fails

2013-04-10 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com Currently if virCgroupMakeGroup fails, we can get in a situation where some controllers have been setup, but others not. Ensure we call virCgroupRemove to remove what we've done upon failure Signed-off-by: Daniel P. Berrange berra...@redhat.com ---