Re: [PATCH v3 2/3] libelf: Expand ELF note printing

2024-03-20 Thread Jan Beulich
On 19.03.2024 21:58, Jason Andryuk wrote: > --- a/xen/common/libelf/libelf-dominfo.c > +++ b/xen/common/libelf/libelf-dominfo.c > @@ -101,26 +101,30 @@ elf_errorstatus elf_xen_parse_note(struct elf_binary > *elf, > /* *INDENT-OFF* */ > static const struct { > const char *name; > -

[PATCH v3 2/3] libelf: Expand ELF note printing

2024-03-19 Thread Jason Andryuk
The XEN_ELFNOTE_L1_MFN_VALID is an array of pairs of values, but it is printed as: (XEN) ELF: note: L1_MFN_VALID = 0 This is a limitation of only printing either string or numeric values. Switch from the boolean to an enum which allows more flexibility in printing the values. Introduce