]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: honor domain lifecycle event configuration
authorJim Fehlig <jfehlig@suse.com>
Wed, 19 Feb 2014 22:30:43 +0000 (15:30 -0700)
committerJim Fehlig <jfehlig@suse.com>
Mon, 24 Feb 2014 17:26:52 +0000 (10:26 -0700)
commit51b9b3912729eb425d45cdc8ca6b00668aaef5d8
tree89fcf607b09db5102a73ade64bd43ebe73944637
parent6fb42d7cdc57da453691d043d6b9bf23e2bae15e
libxl: honor domain lifecycle event configuration

The libxl driver was ignoring the <on_*> domain event configuration,
causing e.g. a domain to be rebooted even when on_reboot is set to
destroy.

This patch honors the <on_*> configuration in the shutdown event
handler.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
src/libxl/libxl_driver.c