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

Re: [Xen-ia64-devel] problems with smp



Hi, David

>> Okay got some more information this is kinda odd...
>>
>> If you look it does see the two cpu's but later theres a line about
>> Dom0 max_vcpus=1.
>> How did this get set? is this default? could I set this on the commandline
>>  to 2?
>
>Hmmm, this seems where it's being set... so all I'd have to do is say
>dom0_max_vcpus=2 on the xen.gz command line part then?
>
>=== arch/ia64/xen/domain.c ===
>/* dom0_max_vcpus: maximum number of VCPUs to create for dom0.  */
>static unsigned int dom0_max_vcpus = 1;
>integer_param("dom0_max_vcpus", dom0_max_vcpus);
>
Yes.
If you alloc two vcpus to dom0, you must add dom0_max_vcpus=2 to 
command line of xen. If you don't add dom0_max_vcpus, xen alloc one 
vcpu to dom0. This is default as you said the above.

e.g. my elilo.conf

image=vmlinuz-2.6.18-xen
        vmm=xen.gz
        label=xen
        initrd=initrd-2.6.18-xen.img
        read-only
        append="com2=115200,8n1 console=com2,vga dom0_mem=1G dom0_max_vcpus=2 
sync_console -- rhgb root=LABEL=/ 3 console=tty0 console=ttyS1,115200,8n1"

Best Regards,

Akio Takebe


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


 


Rackspace

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