提交 1abc8b39 编写于 作者: M Maxim Nestratov

vz: don't add implicit devices for CTs

Implicit devices like controllers are confusing for CTs and
function virDomainDefAddImplicitDevices never intended to be called
for CTs.
Signed-off-by: NMaxim Nestratov <mnestratov@virtuozzo.com>
上级 e485310a
......@@ -1815,7 +1815,7 @@ prlsdkLoadDomain(vzDriverPtr driver,
if (prlsdkGetDomainState(dom, sdkdom, &domainState) < 0)
goto error;
if (virDomainDefAddImplicitDevices(def) < 0)
if (!IS_CT(def) && virDomainDefAddImplicitDevices(def) < 0)
goto error;
if (def->ngraphics > 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册