aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/debug.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-08-09 16:46:42 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-08-09 16:46:42 +0100
commit74aeab42a37ad74d65fc182b96d57251458f7ab4 (patch)
treeca3d5844ec4218c63e2310a67a1bc27164a09523 /xen/arch/x86/debug.c
parentc92aec02ad55858cd5767f37ee7a9069ba2f248b (diff)
downloadxen-74aeab42a37ad74d65fc182b96d57251458f7ab4.tar.gz
xen-74aeab42a37ad74d65fc182b96d57251458f7ab4.tar.bz2
xen-74aeab42a37ad74d65fc182b96d57251458f7ab4.zip
Nested Virtualization: p2m infrastructure
Change p2m infrastructure to operate on per-p2m instead of per-domain. This allows us to use multiple p2m tables per-domain. Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> Acked-by: Tim Deegan <Tim.Deegan@citrix.com>
Diffstat (limited to 'xen/arch/x86/debug.c')
-rw-r--r--xen/arch/x86/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/debug.c b/xen/arch/x86/debug.c
index 98134b3b67..5e5f3cbafa 100644
--- a/xen/arch/x86/debug.c
+++ b/xen/arch/x86/debug.c
@@ -61,7 +61,7 @@ dbg_hvm_va2mfn(dbgva_t vaddr, struct domain *dp, int toaddr)
return INVALID_MFN;
}
- mfn = mfn_x(gfn_to_mfn(dp, gfn, &gfntype));
+ mfn = mfn_x(gfn_to_mfn(p2m_get_hostp2m(dp), gfn, &gfntype));
if ( p2m_is_readonly(gfntype) && toaddr )
{
DBGP2("kdb:p2m_is_readonly: gfntype:%x\n", gfntype);