Hi all Manage to pull together another prototype without any hack in it.
The first patch adds PcdPciAllowFullEnumeration in MdeModulePkg, which short-cuts full enumeration if set to false. This one should be helpful to QEMU as well. This patch set should work with QEMU / KVM as well (read: doesn't break). The code path is the same as before if Xen is not detected. Comments are welcomed. The tree can be found at: http://xenbits.xen.org/git-http/people/liuw/ovmf.git rfc-v2 starting from 4ba5c67e. Wei. Wei Liu (7): MdeModulePkg: introduce PcdPciAllowFullEnumeration OvmfPkg: introduce E820.h OvmfPkg: define EFI_XEN_OVMF_INFO and extend XenInfo OvmfPkg: extract OVMF info passed by Xen hvmloader OvmfPkg: detect Xen earlier OvmfPkg: introduce PublishPeiMemory OvmfPkg: introduce XenMemMapInitialization MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.c | 5 +- MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf | 1 + MdeModulePkg/MdeModulePkg.dec | 3 + OvmfPkg/Include/Guid/XenInfo.h | 27 ++++++++ OvmfPkg/Include/IndustryStandard/E820.h | 46 +++++++++++++ OvmfPkg/OvmfPkgIa32.dsc | 5 +- OvmfPkg/OvmfPkgIa32X64.dsc | 5 +- OvmfPkg/OvmfPkgX64.dsc | 5 +- OvmfPkg/PlatformPei/MemDetect.c | 36 ++++++++++- OvmfPkg/PlatformPei/Platform.c | 89 +++++++++++++++++++++++++- OvmfPkg/PlatformPei/Platform.h | 10 +++ OvmfPkg/PlatformPei/PlatformPei.inf | 1 + OvmfPkg/PlatformPei/Xen.c | 43 +++++++++---- 13 files changed, 254 insertions(+), 22 deletions(-) create mode 100644 OvmfPkg/Include/IndustryStandard/E820.h -- 1.7.10.4 ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel