WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] debuggers and hap_gva_to_gfn() in guest_walk.c

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] debuggers and hap_gva_to_gfn() in guest_walk.c
From: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
Date: Wed, 05 Nov 2008 13:44:31 -0800
Delivery-date: Wed, 05 Nov 2008 13:45:00 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Oracle Corp
Reply-to: mukesh.rathor@xxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.5 (X11/20070719)

Debugger/s would like to keep it's #ifdefs in xen minimal. Following would 
help...

hap_gva_to_gfn():


+   if (v== current)
       mfn = mfn_x(gfn_to_mfn_current(gpfn, &p2mt));
+   else
+      mfn = mfn_x(gfn_to_mfn_foreign(v->domain, gpfn, &p2mt));


Thanks,
Mukesh


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>