From: Ian Jackson Subject: Re: [PATCH] xl: check for meaningful combination of sedf config file parameters Date: Wed, 6 Jun 2012 11:57:03 +0100 Message-ID: <20431.14207.24074.538390@mariner.uk.xensource.com> References: <3eadab19abd49fbc6f56.1338818483@Solace> <20431.13287.208744.519066@mariner.uk.xensource.com> <1338979707.6152.18.camel@Solace> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1338979707.6152.18.camel@Solace> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Dario Faggioli Cc: George Dunlap , Juergen Gross , Ian Campbell , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org Dario Faggioli writes ("Re: [PATCH] xl: check for meaningful combination of sedf config file parameters"): > On Wed, 2012-06-06 at 11:41 +0100, Ian Jackson wrote: > > Why does xl continue after libxl_domain_sched_params_set fails ? > > Well, that I really don't know. It has always been like this I guess, it > just print the related error about inconsistent/wrong scheduling > parameters and then the domain is created with default ones. > > Should we/I stop it? Please, yes. In general libxl's error handling is rather poor in places (although a lot of it has been improved). Where you notice that (a) the thing you wanted to do doesn't work and (b) xl blunders on anyway, it's best to fix (b) first, while you still have the test case, and then (a) :-). Thanks, Ian.