mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
ac35aa22bd
# 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>
15 lines
296 B
C#
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;
|
|
}
|
|
}
|
|
}
|
|
}
|