mirror of https://github.com/acidanthera/audk.git
OvmfPkg/XenPlatformPei: Ignore missing PCI Host Bridge on Xen PVH
When the device ID of the host bridge is unknown, check if we are running as a PVH guest as there is no PCI bus in that case. Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1689 Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Acked-by: Laszlo Ersek <lersek@redhat.com> Message-Id: <20190813113119.14804-26-anthony.perard@citrix.com>
This commit is contained in:
parent
77d35f5008
commit
198a8dc9cd
|
@ -283,6 +283,12 @@ MiscInitialization (
|
||||||
AcpiEnBit = ICH9_ACPI_CNTL_ACPI_EN;
|
AcpiEnBit = ICH9_ACPI_CNTL_ACPI_EN;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
if (XenPvhDetected ()) {
|
||||||
|
//
|
||||||
|
// There is no PCI bus in this case
|
||||||
|
//
|
||||||
|
return;
|
||||||
|
}
|
||||||
DEBUG ((DEBUG_ERROR, "%a: Unknown Host Bridge Device ID: 0x%04x\n",
|
DEBUG ((DEBUG_ERROR, "%a: Unknown Host Bridge Device ID: 0x%04x\n",
|
||||||
__FUNCTION__, mHostBridgeDevId));
|
__FUNCTION__, mHostBridgeDevId));
|
||||||
ASSERT (FALSE);
|
ASSERT (FALSE);
|
||||||
|
|
Loading…
Reference in New Issue