OvmfPkg: Handle Cloud Hypervisor host bridge
Handle things differently when the detected host bridge matches the Cloud Hypervisor PCI host bridge identifier. Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Signed-off-by: Rob Bradford <robert.bradford@intel.com> Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
e81a81e584
commit
9afcd48a94
@@ -374,6 +374,14 @@ MiscInitialization (
|
||||
);
|
||||
ASSERT_RETURN_ERROR (PcdStatus);
|
||||
return;
|
||||
case CLOUDHV_DEVICE_ID:
|
||||
DEBUG ((DEBUG_INFO, "%a: Cloud Hypervisor host bridge\n", __FUNCTION__));
|
||||
PcdStatus = PcdSet16S (
|
||||
PcdOvmfHostBridgePciDevId,
|
||||
CLOUDHV_DEVICE_ID
|
||||
);
|
||||
ASSERT_RETURN_ERROR (PcdStatus);
|
||||
return;
|
||||
default:
|
||||
DEBUG ((
|
||||
DEBUG_ERROR,
|
||||
|
Reference in New Issue
Block a user