tools: cpupools: add example cpupool config file
authorJuergen Gross <juergen.gross@ts.fujitsu.com>
Thu, 21 Oct 2010 17:36:57 +0000 (18:36 +0100)
committerJuergen Gross <juergen.gross@ts.fujitsu.com>
Thu, 21 Oct 2010 17:36:57 +0000 (18:36 +0100)
Adds an example configuration file for xm/xl pool-create

Signed-off-by: juergen.gross@ts.fujitsu.com
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/examples/README
tools/examples/cpupool [new file with mode: 0644]

index e2e8f434df8297774eb7e6bd53b85872a395ee1a..5b0314efde25564d11e445be6fdbb473f61d35da 100644 (file)
@@ -13,6 +13,7 @@ block               - called by xen-backend.agent to bind/unbind dev
 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 --git a/tools/examples/cpupool b/tools/examples/cpupool
new file mode 100644 (file)
index 0000000..01e62c8
--- /dev/null
@@ -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"]
+