Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I would like to create a Xen VM with 32 possible VCPUs but have the guest OS only enable 2 of them on boot. Are there some kernel parameters I can pass in to enable this? I've played around with various combinations of additional_cpus, disabled_cpus, and possible_cpus and I can't seem to find anything that works.

Thanks!

share|improve this question

2 Answers 2

I'm pretty new to Xen too, but seems like there are two Xen variables that you can set. Doing a xe vm-param-list uuid=<uuid> yields the following two variables:

VCPUs-max ( RW): 1
VCPUs-at-startup ( RW): 1

Seems like you would want to set the first one to 32 and the second one to 2 for your specific guest OS.

share|improve this answer
    
I should add that I'm using the open source version of Xen, not the one from Citrix, so this doesn't help. –  Michael Mior Feb 24 '10 at 16:17
up vote 0 down vote accepted

Perhaps I need to start spending more time working on my own before asking questions. I solved this issue by setting the vcpu_avail mask in the Xen config file to 3.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.