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] Problems about CPU Affinity

>
>>> > 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
>

Hi Ian,

Sorry, it was my mistake.  I thought that the cpus parameter 
is able to specify a list currently. 

Could you tell me why the patch was not applied?

Best regards,
 Kan



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