xenadmin/XenModel/XenAPI-Extensions/VGPU.cs
Konstantina Chremmou ac35aa22bd CP-6137: Work in Console tab for vGPU (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1384179387 0
#      Mon Nov 11 14:16:27 2013 +0000
# Node ID 4c0609731471aec95b153843469b00811c123c0b
# Parent  6e77f45144cb01c9eba99be74ad9ffd056eeb110

- show the message about connecting with RDP only if is pass-through
- changed the current message to say "pass-through GPU" instead of "dedicated GPU"

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:59:42 +00:00

15 lines
296 B
C#

namespace XenAPI
{
partial class VGPU
{
public bool IsPassthrough
{
get
{
var vGPUType = Connection.Resolve(type);
return vGPUType != null && vGPUType.max_heads == 0;
}
}
}
}