[libvirt] [libvirt-go PATCH] Add daemon shutdown reason to the list

John Ferlan posted 1 patch 5 years, 5 months ago
Failed in applying to current master (apply log)
domain.go | 1 +
1 file changed, 1 insertion(+)
[libvirt] [libvirt-go PATCH] Add daemon shutdown reason to the list
Posted by John Ferlan 5 years, 5 months ago
Signed-off-by: John Ferlan <jferlan@redhat.com>
---
 Something I know even less about ;-)... Although I see Daniel has noted
 he'll take care of it - I figured I'd give it a "go" (sorry) anyway.

 domain.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/domain.go b/domain.go
index 3a3ef5b..e011980 100644
--- a/domain.go
+++ b/domain.go
@@ -593,6 +593,7 @@ const (
 	DOMAIN_SHUTOFF_SAVED         = DomainShutoffReason(C.VIR_DOMAIN_SHUTOFF_SAVED)
 	DOMAIN_SHUTOFF_FAILED        = DomainShutoffReason(C.VIR_DOMAIN_SHUTOFF_FAILED)
 	DOMAIN_SHUTOFF_FROM_SNAPSHOT = DomainShutoffReason(C.VIR_DOMAIN_SHUTOFF_FROM_SNAPSHOT)
+	DOMAIN_SHUTOFF_DAEMON        = DomainShutoffReason(C.VIR_DOMAIN_SHUTOFF_DAEMON)
 )
 
 type DomainBlockCommitFlags int
-- 
2.17.2

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list