From: Juergen Gross Date: Thu, 21 Oct 2010 17:36:57 +0000 (+0100) Subject: tools: cpupools: add example cpupool config file X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~11368 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=49fa0e868f1e3748a25c60cf2a36b5c40a135b83;p=xen.git 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 --- 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"] +