pvh dom0: Add checks and restrictions for p2m_is_foreign
authorMukesh Rathor <mukesh.rathor@oracle.com>
Mon, 12 May 2014 10:10:13 +0000 (12:10 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 12 May 2014 10:10:13 +0000 (12:10 +0200)
commit92bc02ab69a7cdb2a790d5f119e6d4b35edb2af8
tree6a7afbeee375b28e225fffc268dc9d70d57dc5e8
parent236f3d2ae4ecac5044465bf3bec47025b0dc327d
pvh dom0: Add checks and restrictions for p2m_is_foreign

In this patch, we add some checks and restrictions in the relevant
p2m paths for p2m_is_foreign.

Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/p2m.c