提交 7a5f68a1 编写于 作者: P Peter Krempa

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.
上级 abab46a2
...@@ -605,6 +605,8 @@ virDomainObjListLoadAllConfigs(virDomainObjListPtr doms, ...@@ -605,6 +605,8 @@ virDomainObjListLoadAllConfigs(virDomainObjListPtr doms,
if (!liveStatus) if (!liveStatus)
dom->persistent = 1; dom->persistent = 1;
virObjectUnlock(dom); virObjectUnlock(dom);
} else {
VIR_ERROR(_("Failed to load config for domain '%s'"), entry->d_name);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册