[libvirt] [PATCH 0/6] libxl bug and race fixes

Jim Fehlig jfehlig at suse.com
Mon Jan 21 19:22:18 UTC 2013


This series fixes several bugs and races in the libxl driver, as
described in the commit messages of the individual patches.

One of the races was discussed on the xen-devel ml [1] and resulted
in two fixes in libxl [2,3].  I've tested this series with and without
the libxl patches.  All of the previously discovered races are fixed
with this series and the libxl patches.  It is possible to fire asserts
in libxl with this series and without the libxl patches, but that is no
worse than the current behavior.

The libxl patches have not yet been committed upstream, hence the
'XXXX' for commit id in patch 1.  I will respond to the xen-devel
thread now with an ACK on the libxl patches (and a reference to this
series) so those can be committed.  I'll fixup the commit message for
patch 1 later, but wanted to get this series on the list for review
before the 1.0.2 freeze.

[1] http://lists.xen.org/archives/html/xen-devel/2012-11/msg01016.html
[2] http://lists.xen.org/archives/html/xen-devel/2012-12/msg00684.html
[3] http://lists.xen.org/archives/html/xen-devel/2012-12/msg00685.html

Jim Fehlig (6):
  libxl: Fix handling of timeouts
  libxl: Fix races in libxl event code
  libxl: Fix race between destruction of objects
  libxl: Explicitly remove timeouts
  libxl: Fix removing non-persistent domain after save
  libxl: Find domain object in event handler

 src/libxl/libxl_conf.h   |   9 ++
 src/libxl/libxl_driver.c | 298 ++++++++++++++++++++++++++++++++++-------------
 2 files changed, 226 insertions(+), 81 deletions(-)

-- 
1.8.0.1




More information about the libvir-list mailing list