[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 3 of 3] add example cpupool config file



On Tue, 5 Oct 2010, Juergen Gross wrote:
> Adds an example configuration file for xm/xl pool-create
> 
> Signed-off-by: juergen.gross@xxxxxxxxxxxxxx
> 
> 
> 2 files changed, 19 insertions(+)
> tools/examples/README  |    1 +
> tools/examples/cpupool |   18 ++++++++++++++++++
> 
> # HG changeset patch
> # User Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
> # Date 1286286221 -7200
> # Node ID bf1b8d1bb6f723b1541699156c6a24d8fc45c843
> # Parent  baee85a244118f3808082358da3ccc5191d7ffd6
> add example cpupool config file
> 
> Adds an example configuration file for xm/xl pool-create
> 
> Signed-off-by: juergen.gross@xxxxxxxxxxxxxx
> 
> diff -r baee85a24411 -r bf1b8d1bb6f7 tools/examples/README
> --- a/tools/examples/README   Tue Oct 05 15:26:24 2010 +0200
> +++ b/tools/examples/README   Tue Oct 05 15:43:41 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 baee85a24411 -r bf1b8d1bb6f7 tools/examples/cpupool
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/tools/examples/cpupool  Tue Oct 05 15:43:41 2010 +0200
> @@ -0,0 +1,18 @@
> +#  -*- mode: python; -*-
> +#============================================================================
> +# Python configuration setup for 'xm pool-create'.
> +# This script sets the parameters used when a cpupool is created using
> +# 'xm 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.
> +#============================================================================
> +

Considering that this example file is supposed to work with xl too I
would recommend to remove the mode: python line that is not needed
anyway and all the other Python references in the comment.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.