From: Mukesh Rathor Date: Thu, 18 Oct 2012 00:11:21 +0000 (-0700) Subject: xen: privcmd: support autotranslated physmap guests. X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~28^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d71f513985c22f1050295d1a7e4327cf9fb060da;p=pandora-kernel.git xen: privcmd: support autotranslated physmap guests. 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 Signed-off-by: Mukesh Rathor [v1: Fix up privcmd_close] Signed-off-by: Konrad Rzeszutek Wilk Signed-off-by: Ian Campbell [v2: used for ARM too] --- Reading git-diff-tree failed