xen: don't build mfn tree if tools don't need it
authorJuergen Gross <jgross@suse.com>
Fri, 17 Jul 2015 04:51:24 +0000 (06:51 +0200)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 20 Aug 2015 11:24:17 +0000 (12:24 +0100)
commitd51e8b3e85972dee10be7943b0b0106742b1e847
tree759dcdf45ee794706ecd80cc1e05f2ca3f301e3d
parent4b9c9a11803eaa73b3223da9fcaea39b2f919d80
xen: don't build mfn tree if tools don't need it

In case the Xen tools indicate they don't need the p2m 3 level tree
as they support the virtual mapped linear p2m list, just omit building
the tree.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/p2m.c