From: Ian Jackson Subject: Re: [PATCH V2 1/1] libxl: set stub domain size based on VRAM size Date: Mon, 13 Jul 2015 12:14:19 +0100 Message-ID: <21923.40331.194554.410499@mariner.uk.xensource.com> References: <1436566472-13962-1-git-send-email-eshelton@pobox.com> <1436566472-13962-2-git-send-email-eshelton@pobox.com> <21923.36837.120581.140825@mariner.uk.xensource.com> <21923.37235.852479.985765@mariner.uk.xensource.com> <1436783857.7019.84.camel@citrix.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 1ZEbgn-0002hz-P2 for xen-devel@lists.xenproject.org; Mon, 13 Jul 2015 11:14:25 +0000 In-Reply-To: <1436783857.7019.84.camel@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: Ian Campbell Cc: xen-devel@lists.xenproject.org, stefano.stabellini@eu.citrix.com, wei.liu2@citrix.com, samuel.thibault@ens-lyon.org, Eric Shelton List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [PATCH V2 1/1] libxl: set stub domain size based on VRAM size"): > On Mon, 2015-07-13 at 11:22 +0100, Ian Jackson wrote: > > In a moment I am going to send a v3 which uses max_t and uint64_t > > (which is the type of the memkb fields and also obviously correct). > > Eric already sent a v3 in > <1436650242-1067-2-git-send-email-eshelton@pobox.com> which avoids the > use of max in a different way. > > I think his approach looked fine. Well, it does also reduce the stubdom memory when the video memory is <4Mby. That sounds plausible to me but at the very least the commit message needs changing, and maybe we should wait a bit to see if one of the qemu experts objects. Ian.