[libvirt] [PATCH 01/12] conf: domainlist: Explicitly report failure to load domain config
Peter Krempa
pkrempa at redhat.com
Wed Aug 16 14:57:50 UTC 2017
When dropping a domain report which one was dropped so that it's not
necessary to rummage through the logs.
---
src/conf/virdomainobjlist.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/conf/virdomainobjlist.c b/src/conf/virdomainobjlist.c
index d874133a7..a8b3f4124 100644
--- a/src/conf/virdomainobjlist.c
+++ b/src/conf/virdomainobjlist.c
@@ -605,6 +605,8 @@ virDomainObjListLoadAllConfigs(virDomainObjListPtr doms,
if (!liveStatus)
dom->persistent = 1;
virObjectUnlock(dom);
+ } else {
+ VIR_ERROR(_("Failed to load config for domain '%s'"), entry->d_name);
}
}
--
2.14.0
More information about the libvir-list
mailing list