commit | 0e85188049afacdfce9c026144142264981bbabb | [log] [tgz] |
---|---|---|
author | Sheng Yang <sheng@linux.intel.com> | Fri Dec 18 16:48:46 2009 +0800 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Mon Mar 01 12:35:40 2010 -0300 |
tree | 773021a2bd3a799e2814e750ad85ff016f51fccf | |
parent | be43f83dada2cf0e9e01c9a0ba42977c5bd70f9d [diff] |
KVM: Add cpuid_update() callback to kvm_x86_ops Sometime, we need to adjust some state in order to reflect guest CPUID setting, e.g. if we don't expose rdtscp to guest, we won't want to enable it on hardware. cpuid_update() is introduced for this purpose. Also export kvm_find_cpuid_entry() for later use. Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>