From: Ian Jackson Subject: Re: [Xen-users] xl doesn't honour the parameter cpu_weight from my config file while xm does honour it Date: Tue, 24 Apr 2012 14:33:02 +0100 Message-ID: <20374.43918.161473.320182@mariner.uk.xensource.com> References: <20120420150012.GB3720@bloms.de> <1334934791.28331.101.camel@zakaz.uk.xensource.com> <20120423094623.GA13565@bloms.de> <1335182682.4347.15.camel@zakaz.uk.xensource.com> <1335190962.3122.10.camel@Abyss> <20120423154112.GA15320@bloms.de> <1335197251.22133.5.camel@Solace> <20120423193518.GA16134@bloms.de> <1335247525.2397.4.camel@Abyss> <20120424121402.GA19331@bloms.de> <20374.43433.379674.977454@mariner.uk.xensource.com> <1335274056.4347.136.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1335274056.4347.136.camel@zakaz.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 Campbell Cc: George Dunlap , Dario Faggioli , Dieter Bloms , xen-devel List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] [Xen-users] xl doesn't honour the parameter cpu_weight from my config file while xm does honour it"): > On Tue, 2012-04-24 at 14:24 +0100, Ian Jackson wrote: > > This is a very repetitive piece of code. Can't it be autogenerated > > somehow by the idl compiler ? Ian C ? > > Not without a bunch more plumbing in the infrastructure, which would > probably heavily outweigh the code here... Fair enough. > A compromise might be to make this a libxl__sched_set_params(gc, domid, > &info->us), so at least it wouldn't be repeated again somewhere. That would be nice but I wouldn't insist on it until it was necessary to avoid a second copy. Ian.