From: Ian Campbell Subject: Re: [Xen-users] xl doesn't honour the parameter cpu_weight from my config file while xm does honour it Date: Fri, 20 Apr 2012 16:13:11 +0100 Message-ID: <1334934791.28331.101.camel@zakaz.uk.xensource.com> References: <20120420150012.GB3720@bloms.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120420150012.GB3720@bloms.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Dieter Bloms Cc: "xen-users@lists.xen.org" , xen-devel List-Id: xen-devel@lists.xenproject.org Hi Dieter, thanks for the report. It seems that support for this config file variable is not present in xl at the moment. We should try and add this for 4.2 IMHO. If you know a little bit of C (or are interested in learning) then this should be a pretty simple thing to implement -- please let me know if you want more details. Ian. On Fri, 2012-04-20 at 16:00 +0100, Dieter Bloms wrote: > Hi, > > I've installed xen-unstable 4.2 from actual git (last commit was > 4dc7dbef5400f0608321d579aebb57f933e8f707). > > When I start a domU with xm all is fine include the cpu_weight I > configured in my domU config. > > When I start the domU with xl then all my domU have the default > cpu_weight of 256 instead of the configured one. > > Was the name of cpu_weight being changed for xl command ? > > My domU config looks like this: > > --snip-- > name="vdrserver" > description="vdrserver for my clients" > memory=768 > maxmem=2048 > vcpus=1 > cpus="1" > cpu_weight = 128 > on_poweroff="destroy" > on_reboot="restart" > on_crash="destroy" > > localtime=0 > keymap="de" > > builder="linux" > bootloader="/usr/bin/pygrub" > bootargs="" > extra="console=hvc0 tmem cgroup_disable=memory independent_wallclock=1 iommu=soft" > nographic=1 > keymap = 'de' > > disk=[ > 'phy:/dev/mapper/xenimages-vdrserver,xvda1,w', > 'phy:/dev/mapper/xenimages-swap_vdrserver,xvda2,w', > ] > vif=[ 'mac=00:00:00:00:00:80,bridge=br0', ] > > pci = [ '06:00.0', '06:01.0', '00:12.2', '00:13.2'] > --snip-- > >