Skip to content

libxl: fix handling of fd and timer registrations

Jim Fehlig xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2libxl: fix fd and timer event handlingsrc/libxl/libxl_domain.c src/libxl/libxl_driver.c+201 -2340 replies
2/2libxl: Move setup of child processing code to driver initializationsrc/libxl/libxl_domain.c src/libxl/libxl_driver.c+11 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
1.8.4.5