Re: [libvirt] [PATCH v3 05/16] Rename virCgroupForXXX to virCgroupNewXXX

2013-04-11 Thread Daniel P. Berrange
On Wed, Apr 10, 2013 at 08:56:03PM -0600, Eric Blake wrote: > On 04/10/2013 04:08 AM, Daniel P. Berrange wrote: > > From: "Daniel P. Berrange" > > > > Rename all the virCgroupForXXX methods to use the form > > virCgroupNewXXX since they are all constructors. Also > > make sure the output paramete

Re: [libvirt] [PATCH v3 05/16] Rename virCgroupForXXX to virCgroupNewXXX

2013-04-10 Thread Eric Blake
On 04/10/2013 04:08 AM, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > Rename all the virCgroupForXXX methods to use the form > virCgroupNewXXX since they are all constructors. Also > make sure the output parameter is the last one in the > list, and annotate all pointers as non-null.

[libvirt] [PATCH v3 05/16] Rename virCgroupForXXX to virCgroupNewXXX

2013-04-10 Thread Daniel P. Berrange
From: "Daniel P. Berrange" Rename all the virCgroupForXXX methods to use the form virCgroupNewXXX since they are all constructors. Also make sure the output parameter is the last one in the list, and annotate all pointers as non-null. Fix up all callers, and make sure they use true/false not 0/1