commit | 275038332f22d15796f1921f672b024d5cb392bc | [log] [tgz] |
---|---|---|
author | Wanpeng Li <wanpengli@tencent.com> | Thu Sep 10 17:50:37 2020 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Sep 28 07:57:09 2020 -0400 |
tree | 417e7424f6d688f933eb3f4cb05602369027fccc | |
parent | a970e9b216a28b81c0417ab978ff2e248880b86d [diff] |
KVM: LAPIC: Guarantee the timer is in tsc-deadline mode when setting Check apic_lvtt_tscdeadline() mode directly instead of apic_lvtt_oneshot() and apic_lvtt_period() to guarantee the timer is in tsc-deadline mode when wrmsr MSR_IA32_TSCDEADLINE. Reviewed-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Wanpeng Li <wanpengli@tencent.com> Message-Id: <1599731444-3525-3-git-send-email-wanpengli@tencent.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>