]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf10de8bf0cd2fed4a3271e7deafac4d7c80a9eaa
tree07c59a1c565d26245744c7930cafe69c6dae8ecd
parent6a7627ff61b52143d46f6a3cdc05827acb11ac26
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