WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 3 of 3] add example cpupool config file
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Wed, 6 Oct 2010 12:25:19 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 06 Oct 2010 04:26:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <bf1b8d1bb6f723b15416.1286286317@nehalem1>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <bf1b8d1bb6f723b15416.1286286317@nehalem1>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
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