From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ryan Harper Subject: [PATCH 0 of 5] multiple cpumask and vcpu-pin all keyword Date: Wed, 16 Aug 2006 15:49:34 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2132171296==" Return-path: 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 List-Id: xen-devel@lists.xenproject.org --===============2132171296== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit This series of patches relates to the cpus parameter and pinning vcpus. The first patch is a clean-up of getVcpuInfo, which previously only returned the vcpu to cpu mapping. This was insufficient for extracting affinity information. The patch extends getVcpuInfo to return a dict of all the fields in xm vcpu-list for a domain. It also fixes a couple users of the function and moves them to a new vcpu_to_cpu function which retains the old behavior of getVcpuInfo. The second patch adds multiple cpumask support to the cpus variable. We currently support two formats: cpus = [ "0", "2-4" ] and cpus = "0|2-4". The documentation encourages the use of the python list notation. The third patch introduces a testcase for the cpus parameter in the create subset. The forth patch adds support for the keyword 'all' to the vcpu-pin operation. Using 'all' in place of a specific vcpu will apply the cpumask to all vcpus in the domain. The fifth patch creates a testcase for the 'all' keyword in the vcpu-pin subset. --===============2132171296== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 17 files changed, 278 insertions(+), 60 deletions(-) docs/man/xm.pod.1 | 4 tools/examples/xmexample.hvm | 9 - tools/examples/xmexample.vti | 9 - tools/examples/xmexample1 | 9 - tools/examples/xmexample2 | 11 + tools/examples/xmexample3 | 12 - tools/python/xen/xend/XendDomain.py | 17 +- tools/python/xen/xend/XendDomainInfo.py | 64 +++++-- tools/python/xen/xend/server/SrvDomain.py | 2 tools/python/xen/xm/main.py | 9 - tools/xm-test/lib/XmTestLib/Xm.py | 31 +++ tools/xm-test/tests/create/17_create_cpusparm_pos.py | 81 ++++++++++ tools/xm-test/tests/create/Makefile.am | 3 tools/xm-test/tests/vcpu-disable/01_vcpu-disable_basic_pos.py | 16 + tools/xm-test/tests/vcpu-pin/01_vcpu-pin_basic_pos.py | 4 tools/xm-test/tests/vcpu-pin/02_vcpu-pin_all_pos.py | 54 ++++++ tools/xm-test/tests/vcpu-pin/Makefile.am | 3 --===============2132171296== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============2132171296==--