xen: privcmd: support autotranslated physmap guests.
authorMukesh Rathor <mukesh.rathor@oracle.com>
Thu, 18 Oct 2012 00:11:21 +0000 (17:11 -0700)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 29 Nov 2012 12:57:52 +0000 (12:57 +0000)
PVH and ARM only support the batch interface. To map a foreign page to
a process, the PFN must be allocated and the autotranslated 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>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
[v2: used for ARM too]


No differences found