mbox series

[v2,0/2] Fix PVH entrypoint parsing

Message ID 20240929180659.3598-1-ardb@kernel.org (mailing list archive)
Headers show
Series Fix PVH entrypoint parsing | expand

Message

Ard Biesheuvel Sept. 29, 2024, 6:06 p.m. UTC
Fix the handling of the ELF note that describes the PVH entrypoint

v2: fix broken ELF note handling on big endian hosts

Ard Biesheuvel (2):
  hw/elf_ops: Implement missing endian swabbing for ELF notes
  hw/x86: Always treat the PVH entrypoint as a 32-bit LE field

 hw/i386/x86-common.c     |  7 ++-----
 include/hw/elf_ops.h.inc | 19 +++++++++++++++++--
 2 files changed, 19 insertions(+), 7 deletions(-)