Re: [libvirt] RFC: libxl race fixes

2013-01-18 Thread Daniel P. Berrange
On Thu, Jan 17, 2013 at 10:29:35PM -0700, Jim Fehlig wrote: Jim Fehlig wrote: I've been investigating some races in the libxl driver and would like to get comments on some potential solutions. The first race is in the fd/timeout event handling code, which maps libxl's osevent interface

Re: [libvirt] RFC: libxl race fixes

2013-01-18 Thread Jim Fehlig
Daniel P. Berrange wrote: On Thu, Jan 17, 2013 at 10:29:35PM -0700, Jim Fehlig wrote: Jim Fehlig wrote: I've been investigating some races in the libxl driver and would like to get comments on some potential solutions. The first race is in the fd/timeout event handling code, which

Re: [libvirt] RFC: libxl race fixes

2013-01-17 Thread Jim Fehlig
Jim Fehlig wrote: I've been investigating some races in the libxl driver and would like to get comments on some potential solutions. The first race is in the fd/timeout event handling code, which maps libxl's osevent interface to libvirt's event loop interface. This mapping opens the

[libvirt] RFC: libxl race fixes

2013-01-16 Thread Jim Fehlig
I've been investigating some races in the libxl driver and would like to get comments on some potential solutions. The first race is in the fd/timeout event handling code, which maps libxl's osevent interface to libvirt's event loop interface. This mapping opens the possibility for libvirt's