From fa95523b24c836c4c6a7292670f3b8a918131c22 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 14 Apr 2016 11:17:56 +0200 Subject: [PATCH] lib: document fields virConnectDomainEventDiskChangeReason --- include/libvirt/libvirt-domain.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-domain.h index 9936cb2bb6..160f20faa5 100644 --- a/include/libvirt/libvirt-domain.h +++ b/include/libvirt/libvirt-domain.h @@ -3228,8 +3228,12 @@ typedef void (*virConnectDomainEventBlockJobCallback)(virConnectPtr conn, * The reason describing why this callback is called */ typedef enum { - VIR_DOMAIN_EVENT_DISK_CHANGE_MISSING_ON_START = 0, /* oldSrcPath is set */ + VIR_DOMAIN_EVENT_DISK_CHANGE_MISSING_ON_START = 0, + /* removable media changed to empty according to startup policy as source + * was missing. oldSrcPath is set, newSrcPath is NULL */ VIR_DOMAIN_EVENT_DISK_DROP_MISSING_ON_START = 1, + /* disk was dropped from domain as source file was missing. + * oldSrcPath is set, newSrcPath is NULL */ # ifdef VIR_ENUM_SENTINELS VIR_DOMAIN_EVENT_DISK_CHANGE_LAST