summaryrefslogtreecommitdiff
path: root/tprintf.h
diff options
context:
space:
mode:
Diffstat (limited to 'tprintf.h')
0 files changed, 0 insertions, 0 deletions
authorWanpeng Li <wanpeng.li@hotmail.com>2016-10-24 18:23:10 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2016-11-02 21:32:17 +0100
commita10388e11fd09b99ca1bde4b9362502f005fb6d4 (patch)
treec0fc1c2ce83d5f3984bb05c58e83ca8fe4652106 /arch/x86/kvm/lapic.c
parent7d7f7da2f1fcd5b63d3b250a9cb4f7618c1f235d (diff)
KVM: LAPIC: guarantee the timer is in tsc-deadline mode
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 rdmsr MSR_IA32_TSCDEADLINE. Suggested-by: Radim Krčmář <rkrcmar@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Radim Krčmář <rkrcmar@redhat.com> Cc: Yunhong Jiang <yunhong.jiang@intel.com> Signed-off-by: Wanpeng Li <wanpeng.li@hotmail.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/x86/kvm/lapic.c')
-rw-r--r--arch/x86/kvm/lapic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c