From: Ryan Harper Subject: [PATCH 0/3] support multiple cpumasks in cpus parm Date: Mon, 14 Aug 2006 11:56:47 -0500 Message-ID: <20060814165647.GJ1694@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Ian Pratt List-Id: xen-devel@lists.xenproject.org Currently the cpus xm config option allows specify which physical cpus a domains' vcpus' utilize. However, the current mechanism restricts the vcpus' cpumasks to one bit only. This prevents the credit scheduler from doing any balancing. This set of patches adds support for specifying multiple cpumasks in the cpus parameter. I've also created a new testcase for the cpus parameter which required some minor cleanup in XmTestLib for extracting information from xm vcpu-list. 01_fixup_xmtest_getvcpuinfo.patch changes getVcpuInfo to provide full dictionary of vcpu-list output. Adds vcpu_to_cpu function which provides what getVcpuInfo used to provide. Changes tests to use vcpu_to_cpu and getVcpuInfo where needed. 02_add_multiple_cpumask_support.patch adds support for specifying multiple cpumasks in the cpus parameter. 03_add_create_cpus_parameter_testcase.patch adds a testcase for testing the cpus parameter. Patches apply against changeset: 11076:f328519053f5 Tested on x86_64, xm-test shows no regressions. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh@us.ibm.com