[PATCH 0/2] Code removal for !CONFIG_PV

Alejandro Vallejo posted 2 patches 6 days, 9 hours ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20251112152235.224001-1-alejandro.garciavallejo@amd.com
xen/arch/x86/cpuid.c                 |  4 ++--
xen/arch/x86/domain.c                | 10 ++++++----
xen/arch/x86/include/asm/pv/domain.h | 25 -------------------------
3 files changed, 8 insertions(+), 31 deletions(-)
[PATCH 0/2] Code removal for !CONFIG_PV
Posted by Alejandro Vallejo 6 days, 9 hours ago
General cleanup, with marginal binary size reduction in the !CONFIG_PV case.

Some PV-only code remains in the build when !CONFIG_PV because it's in fallback
else branches and there's a number of stubs in asm/pv/domain.h that are either
irrelevant or can be made irrelevant through trivial changes to the else
branches on which they are used.

Alejandro Vallejo (2):
  x86: Conditionalise PV-only fallback branches on CONFIG_PV
  x86: Remove stubs from asm/pv/domain.h

 xen/arch/x86/cpuid.c                 |  4 ++--
 xen/arch/x86/domain.c                | 10 ++++++----
 xen/arch/x86/include/asm/pv/domain.h | 25 -------------------------
 3 files changed, 8 insertions(+), 31 deletions(-)


base-commit: e00c1673992e07ed31e9c60fefa8d053491abbe6
-- 
2.43.0