xen: use host E820 map for dom0
authorIan Campbell <ian.campbell@citrix.com>
Thu, 2 Sep 2010 15:16:00 +0000 (16:16 +0100)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 22 Oct 2010 20:19:19 +0000 (13:19 -0700)
commit9e9a5fcb04e3af077d1be32710298b852210d93f
tree8738bdf5a6390c3f7986551bfc566a01727c57a4
parent375b2a9ada6d105483aab22f1af1d727bc3c418d
xen: use host E820 map for dom0

When running as initial domain, get the real physical memory map from
xen using the XENMEM_machine_memory_map hypercall and use it to setup
the e820 regions.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/setup.c