diff --git a/XenAdmin/Controls/GPU/GpuConfiguration.cs b/XenAdmin/Controls/GPU/GpuConfiguration.cs index f538c9b9e..a7b438702 100644 --- a/XenAdmin/Controls/GPU/GpuConfiguration.cs +++ b/XenAdmin/Controls/GPU/GpuConfiguration.cs @@ -55,7 +55,7 @@ namespace XenAdmin.Controls.GPU dataGridViewEx1.Rows.AddRange((from supportedVGpuTypeRef in pGpu.supported_VGPU_types let supportedVGpuType = pGpu.Connection.Resolve(supportedVGpuTypeRef) let enabled = pGpu.enabled_VGPU_types.Contains(supportedVGpuTypeRef) - let isInUse = pGpuList.Any(p => p.Connection.ResolveAll(p.resident_VGPUs).Any(v => v.type == supportedVGpuTypeRef)) + let isInUse = pGpuList.Any(p => p.Connection.ResolveAll(p.resident_VGPUs).Any(v => v.type.opaque_ref == supportedVGpuTypeRef.opaque_ref)) orderby supportedVGpuType.Capacity ascending select new VGpuDetailWithCheckBoxRow(supportedVGpuTypeRef, supportedVGpuType, enabled, isInUse)