Re: [libvirt] [PATCH 2/9] libvirtd: Alter refcnt processing for server program objects

2018-01-24 Thread John Ferlan
On 01/24/2018 07:48 AM, Marc Hartmayer wrote: > On Wed, Jan 24, 2018 at 01:03 PM +0100, John Ferlan > wrote: >> On 01/24/2018 05:12 AM, Marc Hartmayer wrote: >>> On Fri, Jan 19, 2018 at 06:23 PM +0100, John Ferlan >>> wrote: Once virNetServerProgramNew returns, the program objects have >

Re: [libvirt] [PATCH 2/9] libvirtd: Alter refcnt processing for server program objects

2018-01-24 Thread Marc Hartmayer
On Wed, Jan 24, 2018 at 01:03 PM +0100, John Ferlan wrote: > On 01/24/2018 05:12 AM, Marc Hartmayer wrote: >> On Fri, Jan 19, 2018 at 06:23 PM +0100, John Ferlan >> wrote: >>> Once virNetServerProgramNew returns, the program objects have >>> either been added to the @srv or @srvAdm list increasi

Re: [libvirt] [PATCH 2/9] libvirtd: Alter refcnt processing for server program objects

2018-01-24 Thread John Ferlan
On 01/24/2018 05:12 AM, Marc Hartmayer wrote: > On Fri, Jan 19, 2018 at 06:23 PM +0100, John Ferlan > wrote: >> Once virNetServerProgramNew returns, the program objects have >> either been added to the @srv or @srvAdm list increasing the >> refcnt or there was an error. In either case, we can l

Re: [libvirt] [PATCH 2/9] libvirtd: Alter refcnt processing for server program objects

2018-01-24 Thread Marc Hartmayer
On Fri, Jan 19, 2018 at 06:23 PM +0100, John Ferlan wrote: > Once virNetServerProgramNew returns, the program objects have > either been added to the @srv or @srvAdm list increasing the > refcnt or there was an error. In either case, we can lower the > refcnt from virNetServerProgramNew and set th

Re: [libvirt] [PATCH 2/9] libvirtd: Alter refcnt processing for server program objects

2018-01-23 Thread Marc Hartmayer
On Fri, Jan 19, 2018 at 06:23 PM +0100, John Ferlan wrote: > Once virNetServerProgramNew returns, the program objects have > either been added to the @srv or @srvAdm list increasing the > refcnt or there was an error. In either case, we can lower the > refcnt from virNetServerProgramNew and set th

[libvirt] [PATCH 2/9] libvirtd: Alter refcnt processing for server program objects

2018-01-19 Thread John Ferlan
Once virNetServerProgramNew returns, the program objects have either been added to the @srv or @srvAdm list increasing the refcnt or there was an error. In either case, we can lower the refcnt from virNetServerProgramNew and set the object to NULL since it won't be used any more. The @srv or @srvA