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

Re: [Xen-devel] Does paging_gva_to_gfn() convert to mfn for PV guests?

To: Mike Sun <msun@xxxxxxxxxx>
Subject: Re: [Xen-devel] Does paging_gva_to_gfn() convert to mfn for PV guests?
From: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Date: Tue, 13 May 2008 09:34:28 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 13 May 2008 01:35:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <e4e579070805121301j1f823221u6160adee2080fdc5@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <e4e579070805121301j1f823221u6160adee2080fdc5@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.17 (2007-11-01)
At 16:01 -0400 on 12 May (1210608109), Mike Sun wrote:
> Does the function "paging_gva_to_gfn()" in
> xen/include/asm-x86/paging.h translate from guest virtual address to
> mfns or to pfns in PV guests that are not using fully translated
> shadow page tables (e.g. dom)?

It ought to, as long as they're using *some* kind of paging assistance.
For non-HVM guests, that means shadow paging, e.g. log-dirty or 'test' mode.

Tim.

-- 
Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, Citrix Systems (R&D) Ltd.
[Company #02300071, SL9 0DZ, UK.]

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