xen: save linear p2m list address in shared info structure
authorJuergen Gross <jgross@suse.com>
Fri, 17 Jul 2015 04:51:23 +0000 (06:51 +0200)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 20 Aug 2015 11:24:17 +0000 (12:24 +0100)
commit4b9c9a11803eaa73b3223da9fcaea39b2f919d80
tree3973c139bfba58b46d36d86c1ce272e58f2c3bf0
parent17fb46b1190b677a37cdd636e2aa30052109f51b
xen: save linear p2m list address in shared info structure

The virtual address of the linear p2m list should be stored in the
shared info structure read by the Xen tools to be able to support
64 bit pv-domains larger than 512 GB. Additionally the linear p2m
list interface includes a generation count which is changed prior
to and after each mapping change of the p2m list. Reading the
generation count the Xen tools can detect changes of the mappings
and re-read the p2m list eventually.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/p2m.c