From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Ostrovsky Subject: Re: [PATCH v2 4/4] libxl: fix HVM vNUMA Date: Fri, 29 May 2015 11:50:20 -0400 Message-ID: <55688ABC.6080703@oracle.com> References: <1432899434-1534-1-git-send-email-wei.liu2@citrix.com> <1432899434-1534-5-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YyMYF-0006jn-65 for xen-devel@lists.xenproject.org; Fri, 29 May 2015 15:50:27 +0000 In-Reply-To: <1432899434-1534-5-git-send-email-wei.liu2@citrix.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: Wei Liu , Xen-devel Cc: Dario Faggioli , Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org On 05/29/2015 07:37 AM, Wei Liu wrote: > This patch does two thing: > > The original code erroneously fills in xc_hvm_build_args before > generating vmemranges. The effect is that guest memory is populated > without vNUMA information. Move the hunk to right place to fix this. > > Move the subtraction of video ram to libxl__vnuma_build_vmemrange_hvm > because it's the central place for generating vmemranges. > > Reported-by: Boris Ostrovsky > Signed-off-by: Wei Liu > Cc: Ian Campbell > Cc: Ian Jackson > Cc: Dario Faggioli Reviewed-by: Boris Ostrovsky