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