Re: [libvirt] [PATCH 5/6] libxl: Add refcnt for args->conn during migration

2018-05-03 Thread Erik Skultety
On Thu, May 03, 2018 at 09:02:35AM -0400, John Ferlan wrote: > > > On 05/03/2018 08:34 AM, Erik Skultety wrote: > > On Tue, Apr 24, 2018 at 08:28:08AM -0400, John Ferlan wrote: > >> Since the @dconn reference via args->conn will be used via a thread > >> or callback, let's make sure memory

Re: [libvirt] [PATCH 5/6] libxl: Add refcnt for args->conn during migration

2018-05-03 Thread John Ferlan
On 05/03/2018 08:34 AM, Erik Skultety wrote: > On Tue, Apr 24, 2018 at 08:28:08AM -0400, John Ferlan wrote: >> Since the @dconn reference via args->conn will be used via a thread >> or callback, let's make sure memory associated with it isn't free'd >> unexpectedly before we use it. The Unref

Re: [libvirt] [PATCH 5/6] libxl: Add refcnt for args->conn during migration

2018-05-03 Thread Erik Skultety
On Tue, Apr 24, 2018 at 08:28:08AM -0400, John Ferlan wrote: > Since the @dconn reference via args->conn will be used via a thread > or callback, let's make sure memory associated with it isn't free'd > unexpectedly before we use it. The Unref will be done when the object > is Dispose'd. > >

Re: [libvirt] [PATCH 5/6] libxl: Add refcnt for args->conn during migration

2018-05-03 Thread Erik Skultety
On Tue, Apr 24, 2018 at 08:28:08AM -0400, John Ferlan wrote: > Since the @dconn reference via args->conn will be used via a thread > or callback, let's make sure memory associated with it isn't free'd > unexpectedly before we use it. The Unref will be done when the object > is Dispose'd. > >

Re: [libvirt] [PATCH 5/6] libxl: Add refcnt for args->conn during migration

2018-04-26 Thread Marc Hartmayer
On Tue, Apr 24, 2018 at 02:28 PM +0200, John Ferlan wrote: > Since the @dconn reference via args->conn will be used via a thread > or callback, let's make sure memory associated with it isn't free'd > unexpectedly before we use it. The Unref will be done when the object > is

[libvirt] [PATCH 5/6] libxl: Add refcnt for args->conn during migration

2018-04-24 Thread John Ferlan
Since the @dconn reference via args->conn will be used via a thread or callback, let's make sure memory associated with it isn't free'd unexpectedly before we use it. The Unref will be done when the object is Dispose'd. Signed-off-by: John Ferlan ---