mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-26 00:57:30 +09:00
Whitelist VMWare and HyperV
This commit is contained in:
parent
fbac9bda8e
commit
d87a543978
1 changed files with 11 additions and 0 deletions
|
|
@ -1186,6 +1186,10 @@ GfxInfo::GetFeatureStatusImpl(int32_t aFeature,
|
||||||
!adapterVendorID.Equals(GfxDriverInfo::GetDeviceVendor(VendorAMD), nsCaseInsensitiveStringComparator()) &&
|
!adapterVendorID.Equals(GfxDriverInfo::GetDeviceVendor(VendorAMD), nsCaseInsensitiveStringComparator()) &&
|
||||||
!adapterVendorID.Equals(GfxDriverInfo::GetDeviceVendor(VendorATI), nsCaseInsensitiveStringComparator()) &&
|
!adapterVendorID.Equals(GfxDriverInfo::GetDeviceVendor(VendorATI), nsCaseInsensitiveStringComparator()) &&
|
||||||
!adapterVendorID.Equals(GfxDriverInfo::GetDeviceVendor(VendorMicrosoft), nsCaseInsensitiveStringComparator()) &&
|
!adapterVendorID.Equals(GfxDriverInfo::GetDeviceVendor(VendorMicrosoft), nsCaseInsensitiveStringComparator()) &&
|
||||||
|
// VMware (PCI vendor 0x15ad) and Hyper-V synthetic adapter vendor
|
||||||
|
// ids should be treated as known virtualized vendors.
|
||||||
|
!adapterVendorID.LowerCaseEqualsLiteral("0x15ad") &&
|
||||||
|
!adapterVendorID.LowerCaseEqualsLiteral("0x1414") &&
|
||||||
// FIXME - these special hex values are currently used in xpcshell tests introduced by
|
// FIXME - these special hex values are currently used in xpcshell tests introduced by
|
||||||
// bug 625160 patch 8/8. Maybe these tests need to be adjusted now that we're only whitelisting
|
// bug 625160 patch 8/8. Maybe these tests need to be adjusted now that we're only whitelisting
|
||||||
// intel/ati/nvidia.
|
// intel/ati/nvidia.
|
||||||
|
|
@ -1206,6 +1210,13 @@ GfxInfo::GetFeatureStatusImpl(int32_t aFeature,
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Explicitly block VirtualBox virtual GPU devices due to buggy drivers and lack of hardware acceleration support.
|
||||||
|
if (adapterVendorID.LowerCaseEqualsLiteral("0x80ee")) {
|
||||||
|
aFailureId = "FEATURE_FAILURE_VIRTUALBOX";
|
||||||
|
*aStatus = FEATURE_BLOCKED_DEVICE;
|
||||||
|
return NS_OK;
|
||||||
|
}
|
||||||
|
|
||||||
// special-case the WinXP test slaves: they have out-of-date drivers, but we still want to
|
// special-case the WinXP test slaves: they have out-of-date drivers, but we still want to
|
||||||
// whitelist them, actually we do know that this combination of device and driver version
|
// whitelist them, actually we do know that this combination of device and driver version
|
||||||
// works well.
|
// works well.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue