xen/gntdev: provide find_special_page VMA operation
authorDavid Vrabel <david.vrabel@citrix.com>
Thu, 18 Dec 2014 14:59:07 +0000 (14:59 +0000)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 28 Jan 2015 14:04:58 +0000 (14:04 +0000)
For a PV guest, use the find_special_page op to find the right page.
To handle VMAs being split, remember the start of the original VMA so
the correct index in the pages array can be calculated.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
drivers/xen/gntdev.c

Simple merge