diff options
author | Juergen Gross <juergen.gross@ts.fujitsu.com> | 2010-10-21 18:36:57 +0100 |
---|---|---|
committer | Juergen Gross <juergen.gross@ts.fujitsu.com> | 2010-10-21 18:36:57 +0100 |
commit | 49fa0e868f1e3748a25c60cf2a36b5c40a135b83 (patch) | |
tree | 7587065f4a019ddcb6daed9b4a7be9be8fd29e30 /tools/examples | |
parent | f66601c5629d5bd82797827a8f89dbdbcf410771 (diff) | |
download | xen-49fa0e868f1e3748a25c60cf2a36b5c40a135b83.tar.gz xen-49fa0e868f1e3748a25c60cf2a36b5c40a135b83.tar.bz2 xen-49fa0e868f1e3748a25c60cf2a36b5c40a135b83.zip |
tools: cpupools: add example cpupool config file
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>
Diffstat (limited to 'tools/examples')
-rw-r--r-- | tools/examples/README | 1 | ||||
-rw-r--r-- | tools/examples/cpupool | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/tools/examples/README b/tools/examples/README index e2e8f434df..5b0314efde 100644 --- a/tools/examples/README +++ b/tools/examples/README @@ -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 index 0000000000..01e62c8f06 --- /dev/null +++ b/tools/examples/cpupool @@ -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"] + |