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

Re: [PATCH v2 6/6] x86/mem-paging: consistently use gfn_t



On 15/05/2020 16:49, Andrew Cooper wrote:
> On 23/04/2020 09:39, Jan Beulich wrote:
>> --- a/xen/arch/x86/mm/hap/guest_walk.c
>> +++ b/xen/arch/x86/mm/hap/guest_walk.c
>> @@ -68,7 +68,7 @@ unsigned long hap_p2m_ga_to_gfn(GUEST_PA
>>          *pfec = PFEC_page_paged;
>>          if ( top_page )
>>              put_page(top_page);
>> -        p2m_mem_paging_populate(p2m->domain, cr3 >> PAGE_SHIFT);
>> +        p2m_mem_paging_populate(p2m->domain, _gfn(PFN_DOWN(cr3)));
> addr_to_gfn()

Sorry - gaddr_to_gfn()

~Andrew

>
> Otherwise, Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
>




 


Rackspace

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