xen/p2m: Mark INVALID_P2M_ENTRY the mfn_list past max_pfn.
authorStefan Bader <stefan.bader@canonical.com>
Thu, 27 Jan 2011 15:03:14 +0000 (10:03 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 27 Jan 2011 15:49:34 +0000 (10:49 -0500)
commita6cc16272de30e34f44b9f73e4a0532ef4385c87
tree29de479bca1f9b059eb219881bf0e6f6d8d13c88
parentd3a81907fb3f349bc2b901bf118a200f0c9a1c16
xen/p2m: Mark INVALID_P2M_ENTRY the mfn_list past max_pfn.

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>
arch/x86/xen/p2m.c