[PATCH v2 0/3] x86/realmode: use a dummy trampoline for Xen PV guests

From: Juergen Gross
Date: Tue Nov 22 2022 - 11:38:20 EST


A Xen PV guests can't run in realmode, so the realmode trampoline can
omitted.

Changes in V2:
- complete new approach

Juergen Gross (3):
x86/realmode: test real_mode_header outside of real_mode_size_needed()
x86/realmode: add trampoline reference structure
x86/xen: add a dummy trampoline for Xen PV guests

arch/x86/include/asm/realmode.h | 15 +++++++++++----
arch/x86/platform/efi/quirks.c | 3 ++-
arch/x86/realmode/init.c | 25 ++++++++++++++++++++-----
arch/x86/xen/enlighten_pv.c | 17 +++++++++++++++++
4 files changed, 50 insertions(+), 10 deletions(-)

--
2.35.3