diff options
author | 2016-10-24 18:23:10 +0800 | |
---|---|---|
committer | 2016-11-02 21:32:17 +0100 | |
commit | a10388e11fd09b99ca1bde4b9362502f005fb6d4 (patch) | |
tree | c0fc1c2ce83d5f3984bb05c58e83ca8fe4652106 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: LAPIC: extract start_sw_period() to handle periodic/oneshot mode (diff) | |
download | linux-dev-a10388e11fd09b99ca1bde4b9362502f005fb6d4.tar.xz linux-dev-a10388e11fd09b99ca1bde4b9362502f005fb6d4.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions