Skip to content
Snippets Groups Projects
Commit fddd169d authored by Cole Robinson's avatar Cole Robinson Committed by Michael Roth
Browse files

tests: tcg: Fix PVH test with binutils 2.36+


binutils started adding a .note.gnu.property ELF section which
makes the PVH test fail:

  TEST    hello on x86_64
qemu-system-x86_64: Error loading uncompressed kernel without PVH ELF Note

Discard .note.gnu* while keeping the PVH .note bits intact.

This also strips the build-id note, so drop the related comment.

Signed-off-by: default avatarCole Robinson <crobinso@redhat.com>
Message-Id: <5ab2a54c262c61f64c22dbb49ade3e2db8a740bb.1633708346.git.crobinso@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 8e751e9c)
Signed-off-by: default avatarMichael Roth <michael.roth@amd.com>
parent 711bd602
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment