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

2018-04-26 Thread Marc Hartmayer
On Tue, Apr 24, 2018 at 02:28 PM +0200, John Ferlan wrote: > When adding the @vm to the @args for usage during a thread or > callback, let's add the reference to it at the time of adding to > ensure nothing else deletes it. The corresponding Unref is then > added to the

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

2018-04-24 Thread John Ferlan
When adding the @vm to the @args for usage during a thread or callback, let's add the reference to it at the time of adding to ensure nothing else deletes it. The corresponding Unref is then added to the Dispose function. Signed-off-by: John Ferlan ---