mirror of https://gitee.com/openkylin/libvirt.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.
This commit is contained in:
parent
abab46a29b
commit
7a5f68a1f2
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue