From: Ian Jackson Subject: Re: [PATCH v2] xl: introduce specific VCPU to PCPU mapping in config file Date: Mon, 14 May 2012 14:56:03 +0100 Message-ID: <20401.3827.999059.337500@mariner.uk.xensource.com> References: <0953e429ec0a517b247f.1336987609@Solace> <1336988060.31817.51.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1336988060.31817.51.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Dario Faggioli , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [PATCH v2] xl: introduce specific VCPU to PCPU mapping in config file"): > On Mon, 2012-05-14 at 10:26 +0100, Dario Faggioli wrote: > > +=item "0-3,5,^1" > > + > > +To allow all the vcpus of the guest to run on cpus 0,2,3,5. > > + > > +=item [2, 3] > > Is this [2, 3] or ["2", "3"] as you used in the commit message? (would > it be confusing the make those distinct, represent the current xl > behaviour and xm behaviour respectively?) The current generic config parsing arrangements do not allow config-item-specific code to distinguish between `"2"' and `2' in the config file. This would be possible in principle but let's not do this at this stage of the release. I guess the docs should tell you to use numbers. Ian.