]> git.baikalelectronics.ru Git - kernel.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)
commitd880fefc43a239542c5c3f6b69ea5e0eff1f5234
treec4332888778d124cffcade5ce08a5d40377c90ba
parentedc089316262afe4c0fd8c2f09c143f1884dc487
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