From c4cdc1794a511c868aa079be0f041337ef581fa2 Mon Sep 17 00:00:00 2001 From: Anthony PERARD Date: Mon, 27 Apr 2026 12:01:37 +0200 Subject: [PATCH] OvmfPkg/XenHypercallLib: Remove unused HobLib Commit 0e6f6c715c59 removed the use of gEfiXenInfoGuid. Fixes: 0e6f6c715c59 ("OvmfPkg/XenHypercallLib: Use direct hypercalls") Signed-off-by: Anthony PERARD --- OvmfPkg/Include/Library/XenHypercallLib.h | 5 +---- OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf | 4 ---- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/OvmfPkg/Include/Library/XenHypercallLib.h b/OvmfPkg/Include/Library/XenHypercallLib.h index fb21f611cc..b9a82b8919 100644 --- a/OvmfPkg/Include/Library/XenHypercallLib.h +++ b/OvmfPkg/Include/Library/XenHypercallLib.h @@ -10,10 +10,7 @@ #pragma once /** - To call when the gEfiXenInfoGuid HOB became available after the library init - function has already been executed. - - This allow to make hypercall in the PEIM stage. + Initialise library. **/ RETURN_STATUS EFIAPI diff --git a/OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf b/OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf index 93fb0374f4..5cc21de844 100644 --- a/OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf +++ b/OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf @@ -43,8 +43,4 @@ [LibraryClasses.X64] CpuLib BaseLib - HobLib DebugLib - -[Guids.X64] - gEfiXenInfoGuid