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

Re: [Xen-devel] [PATCH] evtchn/fifo: map correct pages when guest is HVM



On 13/12/13 14:59, Jan Beulich wrote:
>>>> On 13.12.13 at 15:49, David Vrabel <david.vrabel@xxxxxxxxxx> wrote:
>> --- a/xen/common/event_fifo.c
>> +++ b/xen/common/event_fifo.c
>> @@ -357,7 +357,7 @@ static int map_guest_page(struct domain *d, uint64_t 
>> gfn, void **virt)
>>          return -EINVAL;
>>      }
>>  
>> -    *virt = map_domain_page_global(gfn);
>> +    *virt = map_domain_page_global(page_to_mfn(p));
> 
> That's what we have
> 
> #define __map_domain_page_global(pg) map_domain_page_global(__page_to_mfn(pg))
> 
> for. No need to re-submit, I could adjust this while committing
> unless you mind.

Please do, thanks.

David

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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