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
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 )
> +
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