[one-users] How use all cpu flags with KVM (-cpu host)

knawnd at gmail.com knawnd at gmail.com
Fri Sep 9 12:47:51 PDT 2011


Hi,

Have you tried to use RAW attribute [1] to pass '-cpu host' argument to KVM?

[1] http://opennebula.org/documentation:rel2.2:kvmg (see "Additional 
Tunning").

HTH,
Nikolay.

Paulo A L Rego wrote on 09/09/11 18:42:
> Hi,
>
> Using *cat /proc/cpuinfo* on KVM virtual machines, appears the following
> result for model name: QEMU Virtual CPU.
>
> It is possible to use the argument *-cpu host* to force KVM using all
> cpu flags [1]
> Then, using *cat /proc/cpuinfo* appears the real cpu: Intel(R) Core(TM)
> i7 CPU 930  @ 2.80GHz with all its flags.
>
> I would like to know if there is any way to setting up this at VM's
> template or direct at deployment xml.
>
> I am able to use just by command line: "kvm -cpu host ....".
>
> I know it can mess up the live migration, but I would like to test.
>
> Thanks a lot
>
> [1] http://www.linux-kvm.org/page/Tuning_KVM
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



More information about the Users mailing list