[PATCH 0/3] discover: Check if the kernel image has Ultravisor support
    Maxiwell S. Garcia 
    maxiwell at linux.ibm.com
       
    Tue Sep 10 00:19:05 AEST 2019
    
    
  
Hi,
The PPC kernel image has an ELF Note 'namespace' called 'PowerPC'
to store capabilities that indicates if the powerpc kernel binary
knows how to run in an ultravisor-enabled system.
This patchset enables petitboot to read the ELF structures of
kernel binary using the libelf as low-level support and get the
kernel image ELF Note capabilities. If that image is not compatible
with the system, the boot process is aborted.
Maxiwell S. Garcia (3):
  configure: Add libelf as a requirement
  discovery: Add helper functions to read ELF notes
  discover: Check if the kernel image has Ultravisor support
 configure.ac         |  6 ++++
 discover/Makefile.am |  7 ++--
 discover/boot.c      | 28 ++++++++++++++-
 discover/elf.c       | 86 ++++++++++++++++++++++++++++++++++++++++++++
 discover/elf.h       | 29 +++++++++++++++
 5 files changed, 153 insertions(+), 3 deletions(-)
 create mode 100644 discover/elf.c
 create mode 100644 discover/elf.h
-- 
2.20.1
    
    
More information about the Petitboot
mailing list