CLOUDSTACK-6453: [GPU] Windows 2012 Server instance created with vGPU offering is not coming up after installing PV drivers.

This commit is contained in:
Sanjay Tripathi 2014-06-27 15:57:40 +05:30
parent 28505c2729
commit 69e86cb459
1 changed files with 1 additions and 1 deletions

View File

@ -1438,7 +1438,7 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
}
}
String xenservertoolsversion = details.get("hypervisortoolsversion");
if (xenservertoolsversion == null || !xenservertoolsversion.equalsIgnoreCase("xenserver61")) {
if ((xenservertoolsversion == null || !xenservertoolsversion.equalsIgnoreCase("xenserver61")) && vmSpec.getGpuDevice() == null) {
Map<String, String> platform = vm.getPlatform(conn);
platform.remove("device_id");
vm.setPlatform(conn, platform);