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:
Sanjay Tripathi 2014-06-26 15:28:03 +05:30 committed by Daan Hoogland
parent 1dbcf8f458
commit e0d7eb8fc0
1 changed files with 1 additions and 1 deletions

View File

@ -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);