xen/p2m: Mark INVALID_P2M_ENTRY the mfn_list past max_pfn.
commitb28e91f84d37743741afae8b2d7b75a09910e702
authorStefan Bader <stefan.bader@canonical.com>
Thu, 27 Jan 2011 15:03:14 +0000 (27 10:03 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 24 Feb 2011 22:54:26 +0000 (24 14:54 -0800)
tree49dfe65f639d8ee75c82607693056811e1132db9
parent73e33bd8bd1d5291b317a67c5a8a3fc487056dbe
xen/p2m: Mark INVALID_P2M_ENTRY the mfn_list past max_pfn.

commit cf04d120d9413de581437cf9a29f138ec1178f65 upstream.

In case the mfn_list does not have enough entries to fill
a p2m page we do not want the entries from max_pfn up to
the boundary to be filled with unknown values. Hence
set them to INVALID_P2M_ENTRY.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/xen/mmu.c