Report the new VIR_DOMAIN_EVENT_STOPPED_REBOOT reason when reboot has been requested.
CI: https://gitlab.com/libvirt/libvirt/-/merge_requests/567 Previous discussion and patches: https://lists.libvirt.org/archives/list/[email protected]/thread/ZB5ALEFMTONTYZMJ6R2H6JWTOFL4ETER/ https://lists.libvirt.org/archives/list/[email protected]/thread/KYAL45C54LYSVUITZIEOLAQZU4GBVRQA/ https://lists.libvirt.org/archives/list/[email protected]/thread/5W4TO22WVDT3PAUPTBKXLKGVZAYGIM2C/ https://lists.libvirt.org/archives/list/[email protected]/thread/F2HQYSCEMWP6NGNLSXQOO2PHNRHW25XD/ Since last discussion, I: - Fixed commit titles, to use the term "detail" instead of "reason"; - Fixed commit messages, to better describe what was done instead of only how the user should use it. I used the proposed messages from Jim without changes, as I didn't find how to improve it further; - Updates version from 12.9.0 to 12.10.0; - Dropped the documentation patch, as it didn't reflect reality; - Dropped the lxc driver patch. I didn't drop before because I thought it was open for discussion from others, and not decided yes what should be done with it; - Fixed the news documentation with the suggested text; Ben Grande (3): include: Introduce VIR_DOMAIN_EVENT_STOPPED_REBOOT detail drivers: Propagate stopped detail of reboot NEWS: Introduce VIR_DOMAIN_EVENT_STOPPED_REBOOT NEWS.rst | 6 ++++++ examples/c/misc/event-test.c | 3 +++ include/libvirt/libvirt-domain.h | 1 + src/libxl/libxl_domain.c | 2 +- src/test/test_driver.c | 2 +- tools/virsh-domain-event.c | 3 ++- 6 files changed, 14 insertions(+), 3 deletions(-) -- Benjamin Grande
