[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.