[PATCH 0/2] libxl: Fire reboot event

Ben Grande posted 2 patches 1 week, 4 days ago
NEWS.rst                 |  3 +++
docs/formatdomain.rst    | 14 +++++++++++---
src/libvirt-domain.c     |  4 +++-
src/libxl/libxl_domain.c |  4 ++++
4 files changed, 21 insertions(+), 4 deletions(-)
[PATCH 0/2] libxl: Fire reboot event
Posted by Ben Grande 1 week, 4 days ago
The driver libxl already detects when the shutdown reason is to reboot,
but it was not firing the  "VIR_DOMAIN_EVENT_ID_REBOOT" when that
happened. I added support for the event to be fired when the reasons
are "restart" or "destroy", later explained in the commit messages why
"destroy" is included"

I have tested this patch series on Qubes OS with Xen 4.19.5.

CI: https://gitlab.com/libvirt/libvirt/-/merge_requests/567

Ben Grande (2):
  libxl: Fire reboot event
  NEWS: Document libvirt event for Xen reboot

 NEWS.rst                 |  3 +++
 docs/formatdomain.rst    | 14 +++++++++++---
 src/libvirt-domain.c     |  4 +++-
 src/libxl/libxl_domain.c |  4 ++++
 4 files changed, 21 insertions(+), 4 deletions(-)

-- 
Benjamin Grande