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

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]