From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [xen-unstable test] 2521: all pass Date: Wed, 3 Nov 2010 18:17:22 +0100 Message-ID: <20101103171722.GA31149@aepfle.de> References: <20101103142952.GA12234@aepfle.de> <19665.38016.762514.487518@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <19665.38016.762514.487518@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Wed, Nov 03, Ian Jackson wrote: > Olaf Hering writes ("Re: [Xen-devel] [xen-unstable test] 2521: all pass"): > > I just checked my quilt queue and wonder why I still need this patch to > > get around the assert in the python code? > > http://lists.xensource.com/archives/html/xen-devel/2010-08/msg01461.html > > I don't know. > > > A fix for this is here: > > http://lists.xensource.com/archives/html/xen-devel/2010-08/msg01813.html > > That's in xen-unstable, too. Are you sure? My copy looks like this, and the patch still applies. 686 # Convert scheduling parameters to vcpus_params 687 if 'vcpus_params' not in cfg: 688 cfg['vcpus_params'] = {} 689 if not cfg["vcpus_params"].has_key("weight"): 690 cfg["vcpus_params"]["weight"] = \ 691 int(sxp.child_value(sxp_cfg, "cpu_weight", 256)) 692 if not cfg["vcpus_params"].has_key("cap"): 693 cfg["vcpus_params"]["cap"] = \ 694 int(sxp.child_value(sxp_cfg, "cpu_cap", 0)) Olaf