mirror of https://gitee.com/openkylin/libvirt.git
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: Maxim Nestratov <mnestratov@virtuozzo.com>
This commit is contained in:
parent
e485310ab2
commit
1abc8b3966
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue