Commit af51fe0b authored by Daniel P. Berrange's avatar Daniel P. Berrange

Add new guest shutdown constants.

Signed-off-by: default avatarDaniel P. Berrange <berrange@redhat.com>
parent 92da3079
......@@ -359,6 +359,8 @@ type DomainEventShutdownDetailType int
const (
DOMAIN_EVENT_SHUTDOWN_FINISHED = DomainEventShutdownDetailType(C.VIR_DOMAIN_EVENT_SHUTDOWN_FINISHED)
DOMAIN_EVENT_SHUTDOWN_GUEST = DomainEventShutdownDetailType(C.VIR_DOMAIN_EVENT_SHUTDOWN_GUEST)
DOMAIN_EVENT_SHUTDOWN_HOST = DomainEventShutdownDetailType(C.VIR_DOMAIN_EVENT_SHUTDOWN_HOST)
)
type DomainMemoryStatTags int
......
......@@ -940,4 +940,16 @@ int virDomainSetBlockThresholdCompat(virDomainPtr domain,
#define VIR_DOMAIN_JOB_OPERATION_DUMP 8
#endif
/* 3.4.0 */
#ifndef VIR_DOMAIN_EVENT_SHUTDOWN_GUEST
#define VIR_DOMAIN_EVENT_SHUTDOWN_GUEST 1
#endif
#ifndef VIR_DOMAIN_EVENT_SHUTDOWN_HOST
#define VIR_DOMAIN_EVENT_SHUTDOWN_HOST 2
#endif
#endif /* LIBVIRT_GO_DOMAIN_COMPAT_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment