xen/p2m: Create entries in the P2M_MFN trees's to track 1-1 mappings
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 1 Apr 2011 19:18:48 +0000 (15:18 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Jun 2011 00:32:43 +0000 (09:32 +0900)
commitda115763a03d730d374b5105fb5ded0c90b3329e
tree7ffdeda76f8bd2bd4b6c02ae9c2ec9394d28e83a
parente8dbdcfd31544a412f49046a2be5e70fe28f5fc9
xen/p2m: Create entries in the P2M_MFN trees's to track 1-1 mappings

commit 8c5950881c3b5e6e350e4b0438a8ccc513d90df9 upstream.

.. when applicable. We need to track in the p2m_mfn and
p2m_mfn_p the MFNs and pointers, respectivly, for the P2M entries
that are allocated for the identity mappings. Without this,
a PV domain with an E820 that triggers the 1-1 mapping to kick in,
won't be able to be restored as the P2M won't have the identity
mappings.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/xen/p2m.c