From 1abc8b3966bd22e7e0a450ed9c0555cbffd93549 Mon Sep 17 00:00:00 2001 From: Maxim Nestratov Date: Mon, 5 Dec 2016 16:23:21 +0300 Subject: [PATCH] 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 --- src/vz/vz_sdk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vz/vz_sdk.c b/src/vz/vz_sdk.c index e968fdee27..4a1d0f2714 100644 --- a/src/vz/vz_sdk.c +++ b/src/vz/vz_sdk.c @@ -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) { -- GitLab