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-ia64-devel

Re: [Xen-ia64-devel][PATCH]fix vti inital broken after merge

To: "Zhang, Xing Z" <xing.z.zhang@xxxxxxxxx>
Subject: Re: [Xen-ia64-devel][PATCH]fix vti inital broken after merge
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Mon, 4 Dec 2006 12:29:33 +0900
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 03 Dec 2006 19:29:39 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <58A36151585E4047913F40517D307BAE03C202@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <58A36151585E4047913F40517D307BAE03C202@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Mon, Dec 04, 2006 at 10:43:33AM +0800, Zhang, Xing Z wrote:
> Thanks for mention.
> I will modify interrelated code in QEMU which for IA64
> 
> A question:
> Since IA32 has used gpfn, why these code still in populate_physmap()?
> >> > +            if ( unlikely(__copy_to_guest_offset(a->extent_list, i,
> >> > &mfn, 1)) )
> >> > +                goto out;

I'm not sure your question.
Do you mean __copy_to_guest_offset() in else clause?
x86 foreign domain page mapping used mfn before and it was changed
so that it uses gmfn. not gpfn.

on x86
gmfn = mfn for non-auto translated mode. i.e. para virtualized domU
gmfn = gpfn for auto translated mode. i.e. HVM domain.

on IA64
gmfn = gpfn for both domU and domVTi. 

-- 
yamahata

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