Subject: Re: [edk2] OVMF KVM+Xen support
From: Bei Guan <email@example.com>
To: Jordan Justen <firstname.lastname@example.org>
Date: 2011-06-17 21:24:23
On Thu, Jun 16, 2011 at 10:08, Bei Guan <email@example.com> wrote:
> Yes, I know how to do publish Xen SMBIOS table when OVMF running inside Xen.
> However, if we implement it just by publishing the Xen SMBIOS to OVMF with a
> new Xen specific DXE driver, we need to change OvmfPkg[Ia32|X64].dsc and
> OvmfPkg[Ia32|X64].fdf to use MdeModulePkg/Universal/SmbiosDxe and re-compile
> a new binary file OVMF.fd to support OVMF running inside QEMU. Is it right?
> If yes, it may be not convenient. So, I think whether we can build just one
> binary file OVMF.fd to support both OVMF on Xen and OVMF on QEMU. Do we need
> to do this?
Yes, if we can accomplish this, then it would be preferred. We would
be willing to accept some extra size in OVMF if we can support both
environments with a single build.
If this cannot work, then we'd still want to maintain a single set of
DSC/FDF. We could handle this with a build flag, similar to how
For instance, if XEN_SUPPORT was used, then Xen OVMF could be built with:
OvmfPkg/build.sh -d XEN_SUPPORT
This could be used in DSC/FDF files to control additional driver
inclusion, modify PCDs, etc.