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:
Gabor Apati-Nagy 2014-09-15 18:24:17 +01:00
parent c64485adfd
commit 7baae06464

View File

@ -450,7 +450,7 @@ namespace XenAPI
try try
{ {
XmlNode xn = xd.SelectSingleNode(@"restrictions/restriction[@property='allow-gpu-passthrough']"); XmlNode xn = xd.SelectSingleNode(@"restrictions/restriction[@field='allow-gpu-passthrough']");
if (xn == null) if (xn == null)
return true; return true;