diff options
author | Anthony PERARD <anthony.perard@citrix.com> | 2019-08-13 12:30:54 +0100 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2019-08-21 18:03:49 +0200 |
commit | 8651e1ce71ac7e974930016438cdc11bcb113c30 (patch) | |
tree | 83939276c13441b56dd70627d5d4a0bb188bf3b4 /OvmfPkg/PlatformPei | |
parent | 31d4e8b029fe737f16f90d3ce8ffdfa60f30f62c (diff) | |
download | edk2-8651e1ce71ac7e974930016438cdc11bcb113c30.zip edk2-8651e1ce71ac7e974930016438cdc11bcb113c30.tar.gz edk2-8651e1ce71ac7e974930016438cdc11bcb113c30.tar.bz2 |
OvmfPkg/XenPlatformPei: Detect OVMF_INFO from hvmloader
EFI_XEN_OVMF_INFO is only useful to retrieve the E820 table. The
mXenHvmloaderInfo isn't used yet, but will be use in a further patch to
retrieve the E820 table.
Also remove the unused pointer from the XenInfo HOB as that information
is only useful in the XenPlatformPei.
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-11-anthony.perard@citrix.com>
Diffstat (limited to 'OvmfPkg/PlatformPei')
-rw-r--r-- | OvmfPkg/PlatformPei/Xen.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/OvmfPkg/PlatformPei/Xen.c b/OvmfPkg/PlatformPei/Xen.c index 89dc414..3e15b32 100644 --- a/OvmfPkg/PlatformPei/Xen.c +++ b/OvmfPkg/PlatformPei/Xen.c @@ -98,9 +98,6 @@ XenConnect ( mXenInfo.VersionMajor = (UINT16)(XenVersion >> 16);
mXenInfo.VersionMinor = (UINT16)(XenVersion & 0xFFFF);
- /* TBD: Locate hvm_info and reserve it away. */
- mXenInfo.HvmInfo = NULL;
-
BuildGuidDataHob (
&gEfiXenInfoGuid,
&mXenInfo,
|