|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH V3 (resend) 03/19] x86/pv: Rewrite how building PV dom0 handles domheap mappings
Hi Jan, On 14/05/2024 16:03, Jan Beulich wrote: On 13.05.2024 15:40, Elias El Yandouzi wrote: I had a closer look at your suggestion and I don't think it is possible, especially for l3start_mfn. The variable, l3start_mfn, can get initialized in the else leg of the first if statement along with l3start variable. If you look a few lines below in the for loop, we call l4e_from_mfn(l3start_mfn, L4_PROT) which assumes l3start_mfn is valid. It could not be the case if we took the first leg of the aforementioned if statement. I don't think I can this easily limit their scope. It could work for the others, but not l3start_mfn. So I can either leave things as they are or limit the scope of every variables but l3start_mfn.
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |