]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: VMX: simplify rdtscp handling in vmx_cpuid_update()
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Wed, 9 Sep 2015 06:05:53 +0000 (14:05 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Oct 2015 13:06:37 +0000 (15:06 +0200)
commitf36201e5f44b55faf44ddc820929548e51ec841b
treec4332888778d124cffcade5ce08a5d40377c90ba
parente2821620c0908593e6cb40f79c7e78b31921ed73
KVM: VMX: simplify rdtscp handling in vmx_cpuid_update()

if vmx_rdtscp_supported() is true SECONDARY_EXEC_RDTSCP must
have already been set in current vmcs by
vmx_secondary_exec_control()

Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c