Re: [libvirt] [PATCH 1/9] libvirtd: Alter refcnt processing for domain server objects

2018-01-23 Thread Marc Hartmayer
On Fri, Jan 19, 2018 at 06:23 PM +0100, John Ferlan wrote: > Once virNetDaemonAddServer returns, the @srv or @srvAdm have > either been added to the @dmn list increasing the refcnt or > there was an error. In either case, we can lower the refcnt > from virNetServerNew, but not set to NULL. Thus "u

[libvirt] [PATCH 1/9] libvirtd: Alter refcnt processing for domain server objects

2018-01-19 Thread John Ferlan
Once virNetDaemonAddServer returns, the @srv or @srvAdm have either been added to the @dmn list increasing the refcnt or there was an error. In either case, we can lower the refcnt from virNetServerNew, but not set to NULL. Thus "using" the hash table reference when adding programs later or allowin