Re: [Xen-devel] [PATCH v2 5/5] libxc: create p2m list outside of kernel mapping if supported

2015-10-02 Thread Juergen Gross
On 10/02/2015 03:16 PM, Ian Campbell wrote: On Fri, 2015-10-02 at 07:49 +0200, Juergen Gross wrote: +/* Allocate p2m list if outside of initial kernel mapping. */ +if ( dom->arch_hooks->alloc_p2m_list && dom->parms.p2m_base != UNSET_ADDR ) +{ +if ( dom->arch_hooks->alloc_p2m

Re: [Xen-devel] [PATCH v2 5/5] libxc: create p2m list outside of kernel mapping if supported

2015-10-02 Thread Ian Campbell
On Fri, 2015-10-02 at 07:49 +0200, Juergen Gross wrote: > > +/* Allocate p2m list if outside of initial kernel mapping. */ > +if ( dom->arch_hooks->alloc_p2m_list && dom->parms.p2m_base != > UNSET_ADDR ) > +{ > +if ( dom->arch_hooks->alloc_p2m_list(dom) != 0 ) > +

[Xen-devel] [PATCH v2 5/5] libxc: create p2m list outside of kernel mapping if supported

2015-10-01 Thread Juergen Gross
In case the kernel of a new pv-domU indicates it is supporting a p2m list outside the initial kernel mapping by specifying INIT_P2M, let the domain builder allocate the memory for the p2m list from physical guest memory only and map it to the address the kernel is expecting. This will enable loadi