mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-24 22:06:59 +01:00
dbdd3cc02c
New properties: - Pool.HasGpu = Pool has at least one PGPU - Pool.HasVGpu = Pool has at least one PGPU that HasVGpu - PGPU.HasVGpu = PGPU has at least one supported_VGPU_type that is not pass-through New or modified helper functions: - Helpers.GpuCapability = GPU feature not restricted (by licensing) and Pool.HasGpu - Helpers.VGpuCapability = vGPU feature not restricted (by licensing) and Pool.HasVGpu - Helpers.ClearwaterSp1OrGreater = API version is 2.1 or greater The GPU dialogs are displayed as follows: - GPU page on VM properties dialog: Visible only if VM.CanHaveGpu and the GPU feature not restricted (by licensing) - GPU page on New VM Wizard: Visible only if VM.CanHaveGpu and the pool has GPU capability (Helpers.GpuCapability) - GPU page on Pool properties dialog: Visible only if the pool has vGPU capability (Helpers.VGpuCapability) - GPU tab: Visible only if the pool has GPU capability (Helpers.GpuCapability) and is Clearwater SP1 or greater - On the GPU tab, the "Placement policy" panel: Visible only if the pool has vGPU capability (Helpers.VGpuCapability) - On the GPU tab, the "Edit" button on the "vGPU types" panel: Visible only if the PGPU.HasVGpu and vGPU feature not restricted (by licensing) Also: - VM.CanHaveVGpu function renamed to CanHaveGpu - On the GPU tab, renamed "Allowed vGPU types" to "vGPU types |
||
---|---|---|
.. | ||
AsyncServerTime.cs | ||
Helpers.cs | ||
PrettyTimeSpan.cs | ||
PropertyManager.cs | ||
Util.cs |