Re: [Xen-devel] [PATCH 1/3] x86: provide an init_mem_mapping hypervisor hook

2017-07-26 Thread Juergen Gross
On 25/07/17 16:09, Boris Ostrovsky wrote: > On 07/25/2017 05:50 AM, Juergen Gross wrote: >> Provide a hook in hypervisor_x86 called after setting up initial >> memory mapping. >> >> This is needed e.g. by Xen HVM guests to map the hypervisor shared >> info page. > > This is not necessarily a

Re: [Xen-devel] [PATCH 1/3] x86: provide an init_mem_mapping hypervisor hook

2017-07-25 Thread Boris Ostrovsky
On 07/25/2017 05:50 AM, Juergen Gross wrote: > Provide a hook in hypervisor_x86 called after setting up initial > memory mapping. > > This is needed e.g. by Xen HVM guests to map the hypervisor shared > info page. This is not necessarily a problem specific to guests so I wonder whether the hook

[Xen-devel] [PATCH 1/3] x86: provide an init_mem_mapping hypervisor hook

2017-07-25 Thread Juergen Gross
Provide a hook in hypervisor_x86 called after setting up initial memory mapping. This is needed e.g. by Xen HVM guests to map the hypervisor shared info page. Signed-off-by: Juergen Gross --- arch/x86/include/asm/hypervisor.h | 10 ++ arch/x86/mm/init.c