Skip to content

Commit 92b5265

Browse files
Liu, Jinsongavikivity
authored andcommitted
KVM: Depend on HIGH_RES_TIMERS
KVM lapic timer and tsc deadline timer based on hrtimer, setting a leftmost node to rb tree and then do hrtimer reprogram. If hrtimer not configured as high resolution, hrtimer_enqueue_reprogram do nothing and then make kvm lapic timer and tsc deadline timer fail. Signed-off-by: Liu, Jinsong <[email protected]> Signed-off-by: Avi Kivity <[email protected]>
1 parent 7efd8fa commit 92b5265

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/kvm/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ if VIRTUALIZATION
2020
config KVM
2121
tristate "Kernel-based Virtual Machine (KVM) support"
2222
depends on HAVE_KVM
23+
depends on HIGH_RES_TIMERS
2324
# for device assignment:
2425
depends on PCI
2526
# for TASKSTATS/TASK_DELAY_ACCT:

0 commit comments

Comments
 (0)