From: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx> with the TSC deadline timer feature, we don't need to calibrate the apic timers anymore, which saves more than 100 milliseconds of boot time. Signed-off-by: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx> Signed-off-by: Dimitri John Ledkov <dimitri.j.ledkov@xxxxxxxxx> --- x86/cpuid.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x86/cpuid.c b/x86/cpuid.c index c3b67d9..1d8bd23 100644 --- a/x86/cpuid.c +++ b/x86/cpuid.c @@ -31,6 +31,9 @@ static void filter_cpuid(struct kvm_cpuid2 *kvm_cpuid) /* Set X86_FEATURE_HYPERVISOR */ if (entry->index == 0) entry->ecx |= (1 << 31); + /* Set CPUID_EXT_TSC_DEADLINE_TIMER*/ + if (entry->index == 0) + entry->ecx |= (1 << 24); break; case 6: /* Clear X86_FEATURE_EPB */ -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html