xen-gntdev: Fix unmap notify on PV domains
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Tue, 8 Feb 2011 14:14:06 +0000 (09:14 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 14 Feb 2011 19:16:19 +0000 (14:16 -0500)
commit0ea22f072fb1b3da4307573c280ce904f0bf1589
tree5f3bd88b137cb3682ed06065d61bf687c58be14d
parent90b6f30548a52f3a59cda5c7db0b9c2a99ebb156
xen-gntdev: Fix unmap notify on PV domains

In paravirtualized guests, the struct page* for mappings is only a
placeholder, and cannot be used to access the granted memory. Use the
userspace mapping that we have set up in order to implement
UNMAP_NOTIFY_CLEAR_BYTE.

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