On 9/29/24 20:06, Ard Biesheuvel wrote:
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(-)
This series still applies cleanly and fixes the following test failure
on s390x hosts:
$ make -C build/tests/tcg/x86_64-softmmu run-hello
make: Entering directory
'/home/user/src/qemu/build/tests/tcg/x86_64-softmmu'
TEST hello on x86_64
qemu-system-x86_64: Error loading uncompressed kernel without PVH ELF Note
Tested-by: Ilya Leoshkevich <[email protected]>