From: Masaki Kanno Subject: RE: Problems about CPU Affinity Date: Fri, 18 May 2007 20:17:47 +0900 Message-ID: <5CC7993E29FFB7kanno.masaki@jp.fujitsu.com> References: <907625E08839C4409CE5768403633E0B018E1D3B@sefsexmb1.amd.com> <8A87A9A84C201449A0C56B728ACF491E0BA6B0@liverpoolst.ad.cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <8A87A9A84C201449A0C56B728ACF491E0BA6B0@liverpoolst.ad.cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Pratt , "Petersson, Mats" , Saori Fukuta , xen-devel List-Id: xen-devel@lists.xenproject.org >> > I thought you could by specifying a list of physical CPUs? >> > Perhaps this >> > got broken by the xapi changes? >> >> No, the problem that the original post talks about, is that you can't >> set affinity of individual VCPU's to individual PCPU's, e.g: >> vcpus=2 >> cpus=2 > >AFAIK, you used to be able to specify a list: > vcpus=2 > cpus = ["2,3,4","5,6,7"] Hi, I tried it. It does not work. # xm create cpus=["2,3,4","5,6,7"] vcpus=2 ./PVdomain.1 Using config file "././PVdomain.1". Error: cpus = [2,3,4,5,6,7]: invalid literal for int(): [2 # xm create cpus="["2,3,4","5,6,7"]" vcpus=2 ./PVdomain.1 Using config file "././PVdomain.1". Error: cpus = [2,3,4,5,6,7]: invalid literal for int(): [2 Best regards, Kan