]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen/pvh: /dev/xen/privcmd changes.
authorMukesh Rathor <mukesh.rathor@oracle.com>
Thu, 18 Oct 2012 00:11:21 +0000 (17:11 -0700)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 27 Nov 2012 01:11:10 +0000 (20:11 -0500)
commit3b1b3d7af2528f6932e67e0181acbdb30ad1bb9f
tree6a61f76fd44e5faa0924847d62629134a23479e2
parent7b2f0023f3001d5fd01980dfae92ebc434d19764
xen/pvh: /dev/xen/privcmd changes.

PVH only supports the batch interface. To map a foreign page to a process,
the PFN must be allocated and PVH path uses ballooning for that purpose.

The returned PFN is then mapped to the foreign page.
xen_unmap_domain_mfn_range() is introduced to unmap these pages via the
privcmd close call.

Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
[v1: Fix up privcmd_close]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/privcmd.c