mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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>
This commit is contained in:
committed by
John Ferlan
parent
b0d4365a7f
commit
66a85cb136
@@ -212,7 +212,8 @@ VIR_ENUM_IMPL(virshDomainShutoffReason,
|
||||
N_("migrated"),
|
||||
N_("saved"),
|
||||
N_("failed"),
|
||||
N_("from snapshot"))
|
||||
N_("from snapshot"),
|
||||
N_("daemon"))
|
||||
|
||||
VIR_ENUM_DECL(virshDomainCrashedReason)
|
||||
VIR_ENUM_IMPL(virshDomainCrashedReason,
|
||||
|
||||
Reference in New Issue
Block a user