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] [PATCH] 0/2 VCPU creation and allocation


On 10 Oct 2005, at 16:28, Ryan Harper wrote:

Either we should take set_max_vcpus, and have that implicitly do the
work of VCPUOP_create, or we should take VCPUOP_create (callable only
by domain0) and have that implicitly increase max_vcpus for the subject
domain.

OK.  I'll re-work VCPUOP_create to be callable only by dom0 and
auto-increment max_vcpus.

Do you even need a max_vcpus variable? Surely the appropriate check is implicit in VCPUOP_initialise detecting whether or not the relevant VCPU has been created?

I like small code and simple interfaces. :-)

 -- Keir


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