| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XEN PATCH v2 2/5] xen: export get_free_port
 Hi, On 27/01/2022 12:07, Jan Beulich wrote: On 27.01.2022 10:51, Julien Grall wrote:On 27/01/2022 01:50, Stefano Stabellini wrote:On Wed, 26 Jan 2022, Julien Grall wrote:On 26/01/2022 07:30, Jan Beulich wrote:On 26.01.2022 02:03, Stefano Stabellini wrote:Are you guys OK with something like this?With proper proof that this isn't going to regress anything else, maybe.That's why I sugested to also gate with system_state < SYS_STATE_boot so we reduce the potential regression (the use of hypercall should be limited at boot). FWIW, there was a thread [1] to discuss the same issue as Stefano is facing (but in the context of Live-Update).But ... This would not help for real XSM policy. We would either need to bypass XSM completely or decide what to do depending on the mode (e.g. SILO, FLASK...). Additionally relaxing things at a central place like this one comes with the risk of relaxing too much. As said in reply to Stefano - if this is to be done, proof will need to be provided that this doesn't and won't permit operations which aren't supposed to be permitted. I for one would much prefer relaxation on a case-by-case basis. The problem is you will end up to modify a lot of code. This will be quite tedious when the policy is likely going to be the same (e.g. if we are booting, then allow to use the hypercall). So I think it makes more sense to do the modification at central place. That said, this is not strictly necessary for what Stefano needs. So I am OK if we go with local hack and deferred the debate to when a wider solution is needed. Cheers, -- Julien Grall 
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |