]> Pileus Git - ~andy/linux/commitdiff
KVM: Depend on HIGH_RES_TIMERS
authorLiu, Jinsong <jinsong.liu@intel.com>
Sun, 9 Sep 2012 22:55:39 +0000 (06:55 +0800)
committerAvi Kivity <avi@redhat.com>
Mon, 10 Sep 2012 08:10:03 +0000 (11:10 +0300)
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 <jinsong.liu@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/Kconfig

index 45c044f0fff7a8a4862a2bf05bbacfbb76d3d407..586f0005980510e9683ea6c1dbf436cec6e4d52f 100644 (file)
@@ -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: