On Wed, 2016-09-21 at 20:28 +0800, Peng Fan wrote: > Use this in xl cfg file? > vcpuclass=["0-1:A35","2-5:A53", "6-7:A72"] ? > > I am not sure. If there are more kinds of CPUs, how to handle guest > vcpus, > as we discussed in this thread, we tend to support different classes > of vcpu > for guest. But if there are many kinds of physical CPUs, we also need > to let > guest have so many kinds of virtual cpus? > We don't _need_ to necessarily do that, or not right now. **However**, this is the main point of spending time designing things and/or having the kind of conversation we're having here: i.e., if the design, and the resulting implementation, is generic enough, we may get that for free, which would be great. This seems to me to be the case, if we go for George's "vcpuclass=[]" suggesion, and, even better, it doesn't look like it would make the code much more difficult to write or complex (wrt to just allowing "vcpus_big" and "vcpus_little"). Dario -- <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)