Re: [Xen-devel] [PATCH RFC] libxl: use libxl_event_wait to process libxl events

2015-11-23 Thread Ian Jackson
Jim Fehlig writes ("[PATCH RFC] libxl: use libxl_event_wait to process libxl events"): > Prior to this patch, libxl events were delivered to libvirt via > the libxlDomainEventHandler callback registered with libxl. > Documenation in $xensrc/tools/libxl/libxl_event.h states that the > callback

Re: [Xen-devel] [PATCH RFC] libxl: use libxl_event_wait to process libxl events

2015-11-23 Thread Jim Fehlig
On 11/23/2015 04:24 AM, Ian Jackson wrote: > Jim Fehlig writes ("[PATCH RFC] libxl: use libxl_event_wait to process libxl > events"): >> Prior to this patch, libxl events were delivered to libvirt via >> the libxlDomainEventHandler callback registered with libxl. >> Documenation in

Re: [Xen-devel] [PATCH RFC] libxl: use libxl_event_wait to process libxl events

2015-11-20 Thread Ian Campbell
On Fri, 2015-11-13 at 14:36 -0700, Jim Fehlig wrote: > Prior to this patch, libxl events were 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

Re: [Xen-devel] [PATCH RFC] libxl: use libxl_event_wait to process libxl events

2015-11-20 Thread Jim Fehlig
On 11/20/2015 08:31 AM, Ian Campbell wrote: > On Fri, 2015-11-13 at 14:36 -0700, Jim Fehlig wrote: >> Prior to this patch, libxl events were delivered to libvirt via >> the libxlDomainEventHandler callback registered with libxl. >> Documenation in $xensrc/tools/libxl/libxl_event.h states that the

[Xen-devel] [PATCH RFC] libxl: use libxl_event_wait to process libxl events

2015-11-13 Thread Jim Fehlig
Prior to this patch, libxl events were 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