From: Liu, Jinsong Date: Sun, 9 Sep 2012 22:55:39 +0000 (+0800) Subject: KVM: Depend on HIGH_RES_TIMERS X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=92b5265d38f6a4d33e9d43974f176f18547687d6;p=deliverable%2Flinux.git 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 Signed-off-by: Avi Kivity --- diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index 45c044f0fff7..586f00059805 100644 --- a/arch/x86/kvm/Kconfig +++ b/arch/x86/kvm/Kconfig @@ -20,6 +20,7 @@ if VIRTUALIZATION config KVM tristate "Kernel-based Virtual Machine (KVM) support" depends on HAVE_KVM + depends on HIGH_RES_TIMERS # for device assignment: depends on PCI # for TASKSTATS/TASK_DELAY_ACCT: