Re: [PATCH v4 07/24] xen/arm: Xen detection and shared_info page mapping

2012-09-14 Thread Stefano Stabellini
On Fri, 14 Sep 2012, Konrad Rzeszutek Wilk wrote: > On Fri, Sep 14, 2012 at 12:13:09PM +0100, Stefano Stabellini wrote: > > Check for a node in the device tree compatible with "xen,xen", if it is > > present set xen_domain_type to XEN_HVM_DOMAIN and continue > > initialization. > > > > Map the rea

Re: [PATCH v4 07/24] xen/arm: Xen detection and shared_info page mapping

2012-09-14 Thread Konrad Rzeszutek Wilk
On Fri, Sep 14, 2012 at 12:13:09PM +0100, Stefano Stabellini wrote: > Check for a node in the device tree compatible with "xen,xen", if it is > present set xen_domain_type to XEN_HVM_DOMAIN and continue > initialization. > > Map the real shared info page using XENMEM_add_to_physmap with > XENMAPSP

[PATCH v4 07/24] xen/arm: Xen detection and shared_info page mapping

2012-09-14 Thread Stefano Stabellini
Check for a node in the device tree compatible with "xen,xen", if it is present set xen_domain_type to XEN_HVM_DOMAIN and continue initialization. Map the real shared info page using XENMEM_add_to_physmap with XENMAPSPACE_shared_info. Changes in v4: - simpler parsing of Xen version in the compat