]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libvirt: add daemon itself as shutdown reason
authorNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Mon, 8 Oct 2018 11:21:08 +0000 (14:21 +0300)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 14 Nov 2018 11:52:23 +0000 (06:52 -0500)
commit66a85cb1360cdd9498cea055ff5a5c4d2bc46106
tree253b3331ef2e3f877ec81f30e71c63d030268ffb
parentb0d4365a7f2cd0afb4ccd99880a9076f596b652d
libvirt: add daemon itself as shutdown reason

This patch introduces a new shutdown reason "daemon" in order
to indicate that the daemon needed to force shutdown the domain
as the best course of action to take at the moment.

This action would occur during reconnection when processing
encounters an error once the monitor reconnection is successful.

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
include/libvirt/libvirt-domain.h
src/conf/domain_conf.c
src/qemu/qemu_process.c
tools/virsh-domain-monitor.c