[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 0 of 5] multiple cpumask and vcpu-pin all keyword


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Ryan Harper <ryanh@xxxxxxxxxx>
  • Date: Wed, 16 Aug 2006 15:49:34 -0500
  • Delivery-date: Wed, 16 Aug 2006 13:52:33 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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.
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 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.