From: Keir Fraser Subject: Re: debuggers and hap_gva_to_gfn() in guest_walk.c Date: Wed, 05 Nov 2008 21:56:37 +0000 Message-ID: References: <491213BF.8040300@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <491213BF.8040300@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: mukesh.rathor@oracle.com, xen-devel@lists.xensource.com Cc: Tim Deegan List-Id: xen-devel@lists.xenproject.org This looks like a bug in hap_gva_to_gfn(). It should probably be using gfn_to_mfn() rather than gfn_to_mfn_current(). Tim, can you confirm? -- Keir On 5/11/08 21:44, "Mukesh Rathor" wrote: > > 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@lists.xensource.com > http://lists.xensource.com/xen-devel