# HG changeset patch # User Juergen Gross # Date 1286536957 -7200 # Node ID e7b68ed07b470225d52418f0dce6111cee8abbb0 # Parent 91397dcffead192708972a2628b4b31a58fdbdfb add example cpupool config file Adds an example configuration file for xm/xl pool-create Signed-off-by: juergen.gross@xxxxxxxxxxxxxx diff -r 91397dcffead -r e7b68ed07b47 tools/examples/README --- a/tools/examples/README Fri Oct 08 13:21:52 2010 +0200 +++ b/tools/examples/README Fri Oct 08 13:22:37 2010 +0200 @@ -13,6 +13,7 @@ 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 pool-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 91397dcffead -r e7b68ed07b47 tools/examples/cpupool --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/examples/cpupool Fri Oct 08 13:22:37 2010 +0200 @@ -0,0 +1,17 @@ +#============================================================================ +# Configuration setup for 'xm pool-create' or 'xl pool-create'. +# This script sets the parameters used when a cpupool is created using +# 'xm pool-create' or 'xl pool-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"] +