From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= Subject: Re: [PATCH v6 08/29] libxc: introduce a xc_dom_arch for hvm-3.0-x86_32 guests Date: Wed, 23 Sep 2015 12:32:12 +0200 Message-ID: <56027FAC.6060302@citrix.com> References: <1441368548-43465-1-git-send-email-roger.pau@citrix.com> <1441368548-43465-9-git-send-email-roger.pau@citrix.com> <20150918155353.GK2104@perard.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZehLW-0007NJ-Di for xen-devel@lists.xenproject.org; Wed, 23 Sep 2015 10:32:18 +0000 In-Reply-To: <20150918155353.GK2104@perard.uk.xensource.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: Anthony PERARD Cc: xen-devel@lists.xenproject.org, Ian Campbell , Wei Liu , Ian Jackson , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org El 18/09/15 a les 17.53, Anthony PERARD ha escrit: > On Fri, Sep 04, 2015 at 02:08:47PM +0200, Roger Pau Monne wrote: >> + total_pages = 0; >> + p2m_size = 0; >> + for ( i = 0; i < nr_vmemranges; i++ ) >> + { >> + total_pages += ((vmemranges[i].end - vmemranges[i].start) >> + >> PAGE_SHIFT); >> + p2m_size = p2m_size > (vmemranges[i].end >> PAGE_SHIFT) ? >> + p2m_size : (vmemranges[i].end >> PAGE_SHIFT); >> + } >> + >> + if ( total_pages != nr_pages ) >> + { >> + DOMPRINTF("vNUMA memory pages mismatch (0x%"PRIx64" != 0x%"PRIx64")", > > nr_pages is unsigned long, so would need to be print with %lx. Thanks, fixed now. This code is almost a verbatim copy of the code in xc_hvm_build_x86.c, so I guess you are also seeing this error there. Roger.