x86/mm/p2m: use NX bit in p2m entries.
authorChristoph Egger <Christoph.Egger@amd.com>
Thu, 19 Jul 2012 10:09:39 +0000 (11:09 +0100)
committerChristoph Egger <Christoph.Egger@amd.com>
Thu, 19 Jul 2012 10:09:39 +0000 (11:09 +0100)
commitf114c47cceebbf8546c7dd1303433f062c82d31b
treee18b85a1c273560a92534d779b3f66f42411657c
parent4df76b3e3c638d15e2d920d646c5ba738fb3142b
x86/mm/p2m: use NX bit in p2m entries.

In p2m_type_to_flags() honor _PAGE_NX_BIT for grant type mappings.
This brings this code in line with PV and EPT.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/p2m-pt.c