[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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

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

[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(-)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]