mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 14:27:26 +01:00
CP-9365: XenCenter work for HVM linux support
- Modifying/fixing xpath that is used to find allow-gpu-passthrough (in the getter of CanHaveVGpu property)
This commit is contained in:
parent
c64485adfd
commit
7baae06464
@ -450,7 +450,7 @@ namespace XenAPI
|
||||
|
||||
try
|
||||
{
|
||||
XmlNode xn = xd.SelectSingleNode(@"restrictions/restriction[@property='allow-gpu-passthrough']");
|
||||
XmlNode xn = xd.SelectSingleNode(@"restrictions/restriction[@field='allow-gpu-passthrough']");
|
||||
if (xn == null)
|
||||
return true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user