Re: [PATCH v7 2/2] x86/PVH: Support relocatable dom0 kernels

2024-04-18 Thread Jan Beulich
On 18.04.2024 16:34, Jason Andryuk wrote: > On 2024-04-17 09:24, Jan Beulich wrote: >> On 08.04.2024 18:56, Jason Andryuk wrote: >>> On 2024-04-08 03:00, Jan Beulich wrote: On 04.04.2024 23:25, Jason Andryuk wrote: > --- a/xen/arch/x86/hvm/dom0_build.c > +++ b/xen/arch/x86/hvm/dom0_bui

Re: [PATCH v7 2/2] x86/PVH: Support relocatable dom0 kernels

2024-04-18 Thread Jason Andryuk
On 2024-04-17 09:24, Jan Beulich wrote: On 08.04.2024 18:56, Jason Andryuk wrote: On 2024-04-08 03:00, Jan Beulich wrote: On 04.04.2024 23:25, Jason Andryuk wrote: --- a/xen/arch/x86/hvm/dom0_build.c +++ b/xen/arch/x86/hvm/dom0_build.c @@ -537,6 +537,111 @@ static paddr_t __init find_memory(

Re: [PATCH v7 2/2] x86/PVH: Support relocatable dom0 kernels

2024-04-17 Thread Jan Beulich
On 08.04.2024 18:56, Jason Andryuk wrote: > On 2024-04-08 03:00, Jan Beulich wrote: >> On 04.04.2024 23:25, Jason Andryuk wrote: >>> --- a/xen/arch/x86/hvm/dom0_build.c >>> +++ b/xen/arch/x86/hvm/dom0_build.c >>> @@ -537,6 +537,111 @@ static paddr_t __init find_memory( >>> return INVALID_PADD

Re: [PATCH v7 2/2] x86/PVH: Support relocatable dom0 kernels

2024-04-08 Thread Jason Andryuk
On 2024-04-08 03:00, Jan Beulich wrote: On 04.04.2024 23:25, Jason Andryuk wrote: Xen tries to load a PVH dom0 kernel at the fixed guest physical address from the elf headers. For Linux, this defaults to 0x100 (16MB), but it can be configured. Unfortunately there exist firmwares that have

Re: [PATCH v7 2/2] x86/PVH: Support relocatable dom0 kernels

2024-04-08 Thread Jan Beulich
On 04.04.2024 23:25, Jason Andryuk wrote: > Xen tries to load a PVH dom0 kernel at the fixed guest physical address > from the elf headers. For Linux, this defaults to 0x100 (16MB), but > it can be configured. > > Unfortunately there exist firmwares that have reserved regions at this > addres