Is there any possibility to create a custom CPU model for KVM Linux guests, or at least to modify parameters such as cache size and model name?

I know I can set CPU features, topology and pinning and choose from one of available models. The problem is that there are Intel Xeon X7560 CPUs with 24 MiB of cache each, and I couldn't find anything even quite similar.

I'm not sure whether it can have a huge impact on computation speed with LAPACK, ATLAS, etc. but users will probably expect to see CPUs identical to these on the host machine.

link|improve this question
feedback

1 Answer

you can use the "host" option to pass the host CPU features to the VM instead of a set of flags and a name.

EDIT: this used to be a command line option, probably removed by now. Have a look at http://libvirt.org/formatdomain.html#elementsCPU for the current possibilities

link|improve this answer
I don't see any place to set the "host" option. I cannot set it as model and I see no such thing in libvirt documentation. What do you exactly mean by "host" option? – konradstrack Aug 11 '11 at 20:07
see the EDIT I just added – dyasny Aug 12 '11 at 10:37
feedback

Your Answer

 
or
required, but never shown

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