From: Ian Campbell Subject: Re: [PATCH] xl: check for meaningful combination of sedf config file parameters Date: Wed, 6 Jun 2012 11:49:00 +0100 Message-ID: <1338979740.32319.50.camel@zakaz.uk.xensource.com> References: <3eadab19abd49fbc6f56.1338818483@Solace> <20431.13287.208744.519066@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20431.13287.208744.519066@mariner.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: Ian Jackson Cc: George Dunlap , Juergen Gross , Dario Faggioli , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Wed, 2012-06-06 at 11:41 +0100, Ian Jackson wrote: > Dario Faggioli writes ("[PATCH] xl: check for meaningful combination of sedf config file parameters"): > > As we do it in the implementation of `xl sched-sedf -d ...', some > > consistency checking is needed while parsing the sedf scheduling > > parameters provided via config file. Not doing this results in the call > > libxl_domain_sched_params_set() to fail, and no parameters being > > enforced for the domain. > > Why does xl continue after libxl_domain_sched_params_set fails ? Because libxl just carries on (in libxl__build_post) and doesn't propagate the error... It most likely shouldn't. I think we can change that separately though? Ian.