From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [PATCH] evtchn/fifo: map correct pages when guest is HVM Date: Fri, 13 Dec 2013 15:06:59 +0000 Message-ID: <52AB2293.7090306@citrix.com> References: <1386946193-8147-1-git-send-email-david.vrabel@citrix.com> <52AB2ED5020000780010D14D@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VrUNn-0002PL-Jr for xen-devel@lists.xenproject.org; Fri, 13 Dec 2013 15:10:27 +0000 In-Reply-To: <52AB2ED5020000780010D14D@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: xen-devel , Keir Fraser List-Id: xen-devel@lists.xenproject.org On 13/12/13 14:59, Jan Beulich wrote: >>>> On 13.12.13 at 15:49, David Vrabel 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