Skip to content
This repository was archived by the owner on Jan 15, 2020. It is now read-only.

Commit e0d7eb8

Browse files
sanjaytripathiDaanHoogland
authored andcommitted
CLOUDSTACK-6453: [GPU] Windows 2012 Server instance created with vGPU offering is not coming up after installing PV drivers.
(cherry picked from commit dc22566)
1 parent 1dbcf8f commit e0d7eb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1445,7 +1445,7 @@ protected void finalizeVmMetaData(VM vm, Connection conn, VirtualMachineTO vmSpe
14451445
}
14461446
}
14471447
String xentoolsversion = details.get("hypervisortoolsversion");
1448-
if (xentoolsversion == null || !xentoolsversion.equalsIgnoreCase("xenserver61")) {
1448+
if ((xentoolsversion == null || !xentoolsversion.equalsIgnoreCase("xenserver61")) && vmSpec.getGpuDevice() == null) {
14491449
Map<String, String> platform = vm.getPlatform(conn);
14501450
platform.remove("device_id");
14511451
vm.setPlatform(conn, platform);

0 commit comments

Comments
 (0)