[libvirt] [PATCH 0/2] libxl: fix handling of fd and timer registrations

Jim Fehlig jfehlig at suse.com
Tue Feb 3 00:00:34 UTC 2015


This small series fixes some assertions we occasionally see in the
libxl driver when running libvirt-TCK.  The assertions were due to
races between destroying per-domain libxl_ctx and receiving fd and
timer callbacks associated with them.  The races are masked by
setting DEBUG loglevel in libvirtd.conf, so often missed by
automated test setups that want DEBUG loglevel.

Patch 1 actually fixes the assertions.  Patch2 fixes a stupid mistake.
See the commit messages for details.

Jim Fehlig (2):
  libxl: fix fd and timer event handling
  libxl: Move setup of child processing code to driver initialization

 src/libxl/libxl_domain.c | 244 +----------------------------------------------
 src/libxl/libxl_driver.c | 212 +++++++++++++++++++++++++++++++++++++++-
 2 files changed, 212 insertions(+), 244 deletions(-)

-- 
1.8.4.5




More information about the libvir-list mailing list