From: Peter Krempa Date: Thu, 10 Aug 2017 15:18:52 +0000 (+0200) Subject: conf: domainlist: Explicitly report failure to load domain config X-Git-Tag: v3.7.0-rc1~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a5f68a1f2f88ef839d106877523cd87cc97263f;p=thirdparty%2Flibvirt.git conf: domainlist: Explicitly report failure to load domain config When dropping a domain report which one was dropped so that it's not necessary to rummage through the logs. --- diff --git a/src/conf/virdomainobjlist.c b/src/conf/virdomainobjlist.c index d874133a78..a8b3f41243 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); } }