Skip to content

libelf: small fixes for PVH

Roger Pau Monne xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 4 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2libelf: don't attempt to parse __xen_guest for PVHxen/common/libelf/libelf-dominfo.c+2 -43 replies
2/2libelf: improve PVH elfnote parsingtools/fuzz/libelf/libelf-fuzzer.c tools/libs/guest/xg_dom_elfloader.c tools/libs/guest/xg_dom_hvmloader.c +4 more+37 -231 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJan Beulich
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] libelf: small fixes for PVH

Hello,

A couple of small fixes for PVH loading. The first one is likely not very relevant, since PVH couldn't be booted anyway with the data in the __xen_guest section, so it's mostly a cleanup.

Second patch fixes the checks for PVH loading, as in that case physical addresses must always be used to perform the bound calculations.

Thanks, Roger.

Roger Pau Monne (2):
libelf: don't attempt to parse __xen_guest for PVH
libelf: improve PVH elfnote parsing

 tools/fuzz/libelf/libelf-fuzzer.c   |  3 +-
 tools/libs/guest/xg_dom_elfloader.c |  6 ++--
 tools/libs/guest/xg_dom_hvmloader.c |  2 +-
 xen/arch/x86/hvm/dom0_build.c       |  2 +-
 xen/arch/x86/pv/dom0_build.c        |  2 +-
 xen/common/libelf/libelf-dominfo.c  | 49 +++++++++++++++++------------
 xen/include/xen/libelf.h            |  2 +-
 7 files changed, 39 insertions(+), 27 deletions(-)
Signature · 1 line
2.31.1