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

[Xen-changelog] [xen-unstable] tools: cpupools: add example cpupool config file



# HG changeset patch
# User Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
# Date 1287682617 -3600
# Node ID 783c4d9d098f93608578b88e707bd27289d69e64
# Parent  063927551e9c69212cefde4512869a463f5ef12e
tools: cpupools: add example cpupool config file

Adds an example configuration file for xm/xl pool-create

Signed-off-by: juergen.gross@xxxxxxxxxxxxxx
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 tools/examples/README  |    1 +
 tools/examples/cpupool |   17 +++++++++++++++++
 2 files changed, 18 insertions(+)

diff -r 063927551e9c -r 783c4d9d098f tools/examples/README
--- a/tools/examples/README     Thu Oct 21 18:36:22 2010 +0100
+++ b/tools/examples/README     Thu Oct 21 18:36:57 2010 +0100
@@ -13,6 +13,7 @@ block-common.sh     - sourced by block, 
 block-common.sh     - sourced by block, block-*
 block-enbd          - binds/unbinds network block devices
 block-nbd           - binds/unbinds network block devices
+cpupool             - example configuration script for 'xm cpupool-create'
 external-device-migrate - called by xend for migrating external devices
 locking.sh          - locking functions to prevent concurrent access to
                       critical sections inside script files
diff -r 063927551e9c -r 783c4d9d098f tools/examples/cpupool
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/examples/cpupool    Thu Oct 21 18:36:57 2010 +0100
@@ -0,0 +1,17 @@
+#============================================================================
+# Configuration setup for 'xm cpupool-create' or 'xl cpupool-create'.
+# This script sets the parameters used when a cpupool is created using
+# 'xm cpupool-create' or 'xl cpupool-create'.
+# You use a separate script for each cpupool you want to create, or 
+# you can set the parameters for the cpupool on the xm command line.
+#============================================================================
+
+# the name of the new cpupool
+name = "Example-Cpupool"
+
+# the scheduler to use: valid are e.g. credit, sedf, credit2
+sched = "credit"
+
+# list of cpus to use
+cpus = ["2", "3"]
+

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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