[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xen XSM/FLASK policy, grub defaults, etc.



Hi Ian,

On 29/05/2020 15:47, Ian Jackson wrote:
George Dunlap writes ("Re: Xen XSM/FLASK policy, grub defaults, etc."):
Which isn’t to say we shouldn’t do it; but it might be nice to also have an 
intermediate solution that works right now, even if it’s not optimal.

I propose the following behaviour by updste-grub:

  1. Look for an ELF note, TBD.  If it's found, make XSM boot entries.
     (For now, skip this step, since the ELF note is not defined.)

I am afraid the ELF note is a very x86 thing. On Arm, we don't have such thing for the kernel/xen (actually the final binary is not even an ELF).


  2. Look for a .config alongside the Xen binary.  Look for
        ^CONFIG_XSM_FLASK=y
     If the file is is not found, or no line matches, make no XSM
     boot entries.

... this would probably be the best solution for Arm.

Cheers,

--
Julien Grall



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.