commit | 199a8b84c455cfeb81bc060c6824dea473e54dc3 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue May 05 06:45:35 2020 -0400 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri May 15 12:26:21 2020 -0400 |
tree | 712d3d44d5b6f138da8675fad7b7aeb8cb975736 | |
parent | 379a3c8ee44440d5afa505230ed8cb5b0d0e314b [diff] |
KVM: x86: introduce kvm_can_use_hv_timer Replace the ad hoc test in vmx_set_hv_timer with a test in the caller, start_hv_timer. This test is not Intel-specific and would be duplicated when introducing the fast path for the TSC deadline MSR. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>