xen: mark grant mapped pages as foreign
authorJennifer Herbert <jennifer.herbert@citrix.com>
Wed, 24 Dec 2014 14:17:06 +0000 (14:17 +0000)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 28 Jan 2015 14:03:12 +0000 (14:03 +0000)
commit8da7633f168b5428e2cfb7342408b2c44088f5df
tree33e17f065d1aa9bf8a57ac03b737154bac0d3468
parentff4b156f166b3931894d2a8b5cdba6cdf4da0618
xen: mark grant mapped pages as foreign

Use the "foreign" page flag to mark pages that have a grant map.  Use
page->private to store information of the grant (the granting domain
and the grant reference).

Signed-off-by: Jennifer Herbert <jennifer.herbert@citrix.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/p2m.c
drivers/xen/grant-table.c
include/xen/grant_table.h