mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-6453: [GPU] Windows 2012 Server instance created with vGPU offering is not coming up after installing PV drivers.
(cherry picked from commit dc22566c64)
This commit is contained in:
parent
1dbcf8f458
commit
e0d7eb8fc0
|
|
@ -1445,7 +1445,7 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
|
|||
}
|
||||
}
|
||||
String xentoolsversion = details.get("hypervisortoolsversion");
|
||||
if (xentoolsversion == null || !xentoolsversion.equalsIgnoreCase("xenserver61")) {
|
||||
if ((xentoolsversion == null || !xentoolsversion.equalsIgnoreCase("xenserver61")) && vmSpec.getGpuDevice() == null) {
|
||||
Map<String, String> platform = vm.getPlatform(conn);
|
||||
platform.remove("device_id");
|
||||
vm.setPlatform(conn, platform);
|
||||
|
|
|
|||
Loading…
Reference in New Issue