]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen/p2m: Allocate p2m tracking pages on override
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Thu, 24 Mar 2011 12:10:07 +0000 (08:10 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 24 Mar 2011 14:36:01 +0000 (10:36 -0400)
commitb254244d2682fe975630f176c25a4444cc4e088d
treeac754c3e5d730cb26ce1f1e8023d8d77b9d55f98
parenta93e20a83077f57638f8574b1c072ce6712e95ec
xen/p2m: Allocate p2m tracking pages on override

It is possible to add a p2m override on pages that are currently mapped
to INVALID_P2M_ENTRY; in particular, this will happen when using
ballooned pages in gntdev. This means that set_phys_to_machine must be
used instead of __set_phys_to_machine.

Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/p2m.c