From: Ian Jackson Subject: Re: [PATCH 0/3] libxl stubdom API cleanup Date: Mon, 12 Jul 2010 17:46:04 +0100 Message-ID: References: <1278507656-7745-1-git-send-email-vincent.hanquez@eu.citrix.com> <4C35B3E1.2010106@eu.citrix.com> <1278598709.28432.589.camel@zakaz.uk.xensource.com> <20100709081755.GC31695@whitby.uk.xensource.com> <4C36FD7A.1070303@eu.citrix.com> <20100709105101.GD31695@whitby.uk.xensource.com> <4C37027A.5030207@eu.citrix.com> <19511.22167.615318.444003@mariner.uk.xensource.com> Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini Cc: Tim Deegan , Ian Campbell , Xen, Devel , Vincent Hanquez List-Id: xen-devel@lists.xenproject.org --text follows this line-- Stefano Stabellini writes ("Re: [Xen-devel] [PATCH 0/3] libxl stubdom API cleanup"): > I think Vincent wanted a different API to make memory accounting easier. Right. > What about extending the current create_device_model API with a > more explicit stubdom flag, and a way to return the stubdom domid to the > caller? > > Also the caller should be able to know in advance the amount of memory > used for the stubdom: another libxl function could be added for that > purpose. > > Would that interface be flexible enough for you? That would address my concerns. Ian.