提交 b204afa1 编写于 作者: D Dmitry Guryanov 提交者: Michal Privoznik

parallels: add controllers in prlsdkLoadDomain

Call virDomainDefAddImplicitControllers to add disk
controllers, so virDomainDef, filled by this function
will look exactly like the one returned by virDomainDefParseString.
Signed-off-by: NDmitry Guryanov <dguryanov@parallels.com>
上级 66aee375
......@@ -1265,6 +1265,9 @@ prlsdkLoadDomain(parallelsConnPtr privconn,
*s = '\0';
}
if (virDomainDefAddImplicitControllers(def) < 0)
goto error;
if (olddom) {
/* assign new virDomainDef without any checks */
/* we can't use virDomainObjAssignDef, because it checks
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册