From: Ian Campbell Subject: Re: [PATCH 3 of 5 V2] libxl: make it possible to explicitly specify default sched params Date: Fri, 1 Jun 2012 11:14:10 +0100 Message-ID: <1338545650.17466.68.camel@zakaz.uk.xensource.com> References: <274de8e1e0d116070d34.1338299821@cosworth.uk.xensource.com> <1338362793.2609.20.camel@Abyss> <1338363341.31698.17.camel@zakaz.uk.xensource.com> <1338364837.2609.24.camel@Abyss> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1338364837.2609.24.camel@Abyss> 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 Jackson , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Wed, 2012-05-30 at 09:00 +0100, Dario Faggioli wrote: > On Wed, 2012-05-30 at 08:35 +0100, Ian Campbell wrote: > > > That being said, I'm not sure at what level we want to enforce something > > > like the above. The lowest level toolstack seems fine to me, which would > > > mean putting something like the code above in the config file parsing... > > > If you agree, I'll try that and let you know whether or not it works. > > > > If you could provide an incremental patch that would be much > > appreciated. > > > I sure can. :-) > > > IMHO it would be fine (and a good idea) for libxl to return ERROR_INVAL > > if the conditions aren't met too. > > > Ok, sounds reasonable. > > > If you want to also check it in xl's > > config file parsing and either fix it up like the above or error out > > then please do. > > > Let's see what fits better... Thanks. I'm going to commit this as is and await the fixup, if that's ok. I think this isn't a regression from the PoV of the configuration file since this would also have happened before. > > Dario >