aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2018-08-27 15:21:11 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2018-09-20 00:51:41 +0200
commitf459a707ed313f110e4939d634317edcf9e96774 (patch)
treed2be01b3023b1c4e9738ba540b822837ed080a27 /arch/x86/kvm/x86.c
parentKVM: VMX: immediately mark preemption timer expired only for zero value (diff)
downloadlinux-dev-f459a707ed313f110e4939d634317edcf9e96774.tar.xz
linux-dev-f459a707ed313f110e4939d634317edcf9e96774.zip
KVM: VMX: modify preemption timer bit only when arming timer
Provide a singular location where the VMX preemption timer bit is set/cleared so that future usages of the preemption timer can ensure the VMCS bit is up-to-date without having to modify unrelated code paths. For example, the preemption timer can be used to force an immediate VMExit. Cache the status of the timer to avoid redundant VMREAD and VMWRITE, e.g. if the timer stays armed across multiple VMEnters/VMExits. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
0 files changed, 0 insertions, 0 deletions