x86/xen: map foreign pfns for autotranslated guests
authorMukesh Rathor <mukesh.rathor@oracle.com>
Sat, 24 May 2014 02:33:44 +0000 (19:33 -0700)
committerDavid Vrabel <david.vrabel@citrix.com>
Tue, 27 May 2014 10:47:04 +0000 (11:47 +0100)
commit77945ca73e9a66cae25882fcab33ae0c6692763f
tree07c59a1c565d26245744c7930cafe69c6dae8ecd
parent1a4b50f674d0d2f66569f08d063996971b7d48f2
x86/xen: map foreign pfns for autotranslated guests

When running as a dom0 in PVH mode, foreign pfns that are accessed
must be added to our p2m which is managed by xen. This is done via
XENMEM_add_to_physmap_range hypercall. This is needed for toolstack
building guests and mapping guest memory, xentrace mapping xen pages,
etc.

Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/mmu.c