OSDN Git Service

x86/xen: fix memory setup for PVH dom0
authorDavid Vrabel <david.vrabel@citrix.com>
Mon, 2 Jun 2014 16:58:01 +0000 (17:58 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 5 Jun 2014 13:22:27 +0000 (14:22 +0100)
commitabacaadc4144a8849782cc0917a624a7114ffbb1
treef9c47de717c40deb7b3ef1793b57b7e61ff5204b
parent77945ca73e9a66cae25882fcab33ae0c6692763f
x86/xen: fix memory setup for PVH dom0

Since af06d66ee32b (x86: fix setup of PVH Dom0 memory map) in Xen, PVH
dom0 need only use the memory memory provided by Xen which has already
setup all the correct holes.

xen_memory_setup() then ends up being trivial for a PVH guest so
introduce a new function (xen_auto_xlated_memory_setup()).

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Tested-by: Roger Pau Monné <roger.pau@citrix.com>
arch/x86/xen/enlighten.c
arch/x86/xen/setup.c
arch/x86/xen/xen-ops.h