]> 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>
Mon, 29 Oct 2012 14:11:36 +0000 (10:11 -0400)
commit38ba871352a6eeec0a95de217f6420cc13c80bad
tree6a61f76fd44e5faa0924847d62629134a23479e2
parent8afeaa3dd069e225ccc334219a10f76e54b2f3af
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