From 49fa0e868f1e3748a25c60cf2a36b5c40a135b83 Mon Sep 17 00:00:00 2001 From: Juergen Gross Date: Thu, 21 Oct 2010 18:36:57 +0100 Subject: 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 --- tools/examples/README | 1 + tools/examples/cpupool | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 tools/examples/cpupool (limited to 'tools/examples') 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"] + -- cgit v1.2.3