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] [PATCH][RESEND] Control panel changes for IA64/VTI

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][RESEND] Control panel changes for IA64/VTI
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sun, 23 Oct 2005 09:14:56 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Xen-IA64-Devel <Xen-IA64-Devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 23 Oct 2005 08:20:35 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <571ACEFD467F7749BC50E0A98C17CDD802C068EF@pdsmsx403>
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: <571ACEFD467F7749BC50E0A98C17CDD802C068EF@pdsmsx403>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 23 Oct 2005, at 04:53, Tian, Kevin wrote:

BTW, the reason for an ia64 specific get_pfn_list (by Matt) is that machine pages for domain on ia64 are allocated on demand. So there's requirement for parameters to contain start_pfn and nr_pages so that Xen can allocate necessary pages for that specific range. On x86 side, since all the pages are allocated when domain creation, get_pfn_list is aimed to query once for all pages and so the parameter can be only nr_pages. Just the background here. ;-)

We could have a common interface then. All the uses of get_pfn_list in common or x86 code will have start_pfn==0.

The patches look okay, although the Python bits aren't particularly pretty.

 -- Keir


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