[libvirt] [PATCH 0/4] libxl: improve domain lifecycle event support

Jim Fehlig jfehlig at suse.com
Thu Feb 20 23:02:31 UTC 2014


This series is the result of a report from Kim Larry [1] about missing
shutdown events in the libxl driver.  Kim's report revealed that the
libxl driver was ignoring the <on_*> domain lifecycle event configuration!

Patch1 adds support for the four standard actions (destroy, restart,
preserve, and rename-restart) of <on_*>.  Patch2 queues the shutdown
event earlier in the shutdown handler, to avoid it being delivered
after the a start event in the case of a restart.  Patches 3 and 4 add
support for the extra <on_crash> actions coredump-destroy and
coredump-restart.

[1] https://www.redhat.com/archives/libvir-list/2014-February/msg01121.html

Jim Fehlig (4):
  libxl: honor domain lifecycle event configuration
  libxl: queue domain event earlier in shutdown handler
  libxl: add dump dir to libxlDriverConfig object
  libxl: handle on_crash coredump actions

 src/libxl/libxl_conf.c   |   3 +
 src/libxl/libxl_conf.h   |   2 +
 src/libxl/libxl_driver.c | 148 ++++++++++++++++++++++++++++++++++++++---------
 3 files changed, 125 insertions(+), 28 deletions(-)

-- 
1.8.1.4




More information about the libvir-list mailing list