mbox series

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

Message ID 20221122163810.29752-1-jgross@suse.com (mailing list archive)
Headers show
Series x86/realmode: use a dummy trampoline for Xen PV guests | expand

Message

Jürgen Groß Nov. 22, 2022, 4:38 p.m. UTC
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(-)