diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-05-05 06:45:35 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-05-15 12:26:21 -0400 |
commit | 199a8b84c455cfeb81bc060c6824dea473e54dc3 (patch) | |
tree | 712d3d44d5b6f138da8675fad7b7aeb8cb975736 /arch/x86/lib/inat.c | |
parent | 379a3c8ee44440d5afa505230ed8cb5b0d0e314b (diff) | |
download | linux-199a8b84c455cfeb81bc060c6824dea473e54dc3.tar.gz linux-199a8b84c455cfeb81bc060c6824dea473e54dc3.tar.bz2 linux-199a8b84c455cfeb81bc060c6824dea473e54dc3.zip |
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>
Diffstat (limited to 'arch/x86/lib/inat.c')
0 files changed, 0 insertions, 0 deletions