KVM: VMX: reflect broken preemption timer in vmcs_config 75/17075/1
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 8 Jul 2016 09:53:38 +0000 (11:53 +0200)
committerYunhong Jiang <yunhong.jiang@linux.intel.com>
Mon, 18 Jul 2016 15:10:02 +0000 (08:10 -0700)
commitc81c5f9e9856d3149ec81c099dfddca212a50e54
treeaed449672211b1eecfc284eb512dc4f0fd512b9c
parent4304209a4fdfc9b1b8be8f0937ba6a7b7e3557a0
KVM: VMX: reflect broken preemption timer in vmcs_config

Simplify cpu_has_vmx_preemption_timer.  This is consistent with the
rest of setup_vmcs_config and preparatory for the next patch.

Tested-by: Wanpeng Li <kernellwp@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Change-Id: I3b33a881c5e47d5d3046e28374d0b0ca363ffad7
upstream-status: backport
Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
kernel/arch/x86/kvm/vmx.c