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.
This commit is contained in:
Peter Krempa 2017-08-10 17:18:52 +02:00
parent abab46a29b
commit 7a5f68a1f2
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}
}