I'm trying to do some OS development in qemu with kvm. I'm using x86-64, my host cpu is an Intel i7-6700K (Skylake). The problem is that some of the cpu feature flags don't get passed through when I run qemu with -cpu host
.
I'm specifically looking for 'est' (Enhanced SpeedStep). If I run lscpu
in the host, it shows many cpu flags, including est. If look at the cpuid results in my OS I see that around half are missing, including est).
I think I understand that kvm doesn't automatically passthrough all cpu flags, but how can I tell it to pass through a particular flag (or perhaps just all flags)?