Re: [PATCH v4 28/35] OvmfPkg/PlatformBootManagerLib: Handle the absence of PCI bus on Xen PVH

Roger Pau Monné
 

On Mon, Jul 29, 2019 at 04:39:37PM +0100, Anthony PERARD wrote:
When running in a Xen PVH guest, there's nothing to do in
PciAcpiInitialization() because there isn't any PCI bus. When the Host
Bridge DID isn't recognised, simply continue. (The value of
PcdOvmfHostBridgePciDevId would be 0 because it isn't set.)
I guess we will need to figure out how to make OVMF happy when
passthrough support is added to PVH. Having to fake a bridge is quite
cumbersome, but I assume OVMF only pokes at some specific bridge
registers which we might be able to emulate without much fuss.

Thanks, Roger.

Join devel@edk2.groups.io to automatically receive all group messages.