Re: [libvirt] [PATCH] libxl: find virDomainObj in libxlDomainShutdownThread

2016-09-27 Thread Jim Fehlig
Martin Kletzander wrote: > On Wed, Sep 21, 2016 at 03:29:49PM -0600, Jim Fehlig wrote: >> libxl events are delivered to libvirt via the libxlDomainEventHandler >> callback registered with libxl. Documenation in >> $xensrc/tools/libxl/libxl_event.h states that the callback "may occur >> on any

Re: [libvirt] [PATCH] libxl: find virDomainObj in libxlDomainShutdownThread

2016-09-23 Thread Martin Kletzander
On Wed, Sep 21, 2016 at 03:29:49PM -0600, Jim Fehlig wrote: libxl events are delivered to libvirt via the libxlDomainEventHandler callback registered with libxl. Documenation in $xensrc/tools/libxl/libxl_event.h states that the callback "may occur on any thread in which the application calls

[libvirt] [PATCH] libxl: find virDomainObj in libxlDomainShutdownThread

2016-09-21 Thread Jim Fehlig
libxl events are delivered to libvirt via the libxlDomainEventHandler callback registered with libxl. Documenation in $xensrc/tools/libxl/libxl_event.h states that the callback "may occur on any thread in which the application calls libxl". This can result in deadlock since many of the libvirt